You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To improve readability of the code, make type names more descriptive:
- Rename the internal `V2.Runtime.ExceptionConversionHandler` to
`ExceptionSerializer`
- Rename the internal `V2.Client.ExceptionConversionHandler` to
`ExceptionDeserializer`
In types that were already affected by this change, perform additional
opportunistic cleanup using primarily Visual Studio tooling and without
changing the structure of the code.
To simplify code analysis, lock down internal types:
- Make internal types sealed, where possible
- Make unused members of internal types private
- Make fields `readonly` where possible
- Use `IEnumerable<>` instead of `List<>` to reduce the risk of
unintended modification
To improve readability
- Use explicit type where variable type doesn't appear explicitly in the
initialization statement
- Move using directives above namespace, consistently with the .NET
coding style instead of inside the namespace style used with C++
- Remove generated comments that duplicate information already available
in the code
Copy file name to clipboardExpand all lines: src/Microsoft.ServiceFabric.Services.Remoting/V2/FabricTransport/Client/DummyFabricTransportRemotingClient.cs
+6-12
Original file line number
Diff line number
Diff line change
@@ -3,24 +3,18 @@
3
3
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
Copy file name to clipboardExpand all lines: src/Microsoft.ServiceFabric.Services.Remoting/V2/FabricTransport/Client/FabricTransportServiceRemotingClient.cs
+14-16
Original file line number
Diff line number
Diff line change
@@ -3,39 +3,37 @@
3
3
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
Copy file name to clipboardExpand all lines: src/Microsoft.ServiceFabric.Services.Remoting/V2/FabricTransport/Client/FabricTransportServiceRemotingClientFactoryImpl.cs
Copy file name to clipboardExpand all lines: src/Microsoft.ServiceFabric.Services.Remoting/V2/FabricTransport/Runtime/FabricTransportServiceRemotingListener.cs
0 commit comments