Skip to content

Commit 41b6f5c

Browse files
committed
Refactor Extensions class and update project dependencies
- Comment out `protobuf-net` package reference in `Core.csproj` for potential future use. - Add new `using` directives in `Extensions.cs` and remove `ProtoBuf` namespace, indicating a shift away from Protobuf serialization. - Reintroduce and restructure previously removed methods in the `Extensions` class, with some methods commented out for reference. - Update `GetPropertyValue` method to use `ArgumentNullException.ThrowIfNull` for .NET 6.0 compatibility while maintaining support for earlier versions. - Comment out several serialization and XML handling methods, suggesting a potential deprecation or design shift. - Overall, these changes enhance code clarity and maintain compatibility with newer frameworks.
1 parent b101e53 commit 41b6f5c

File tree

2 files changed

+455
-451
lines changed

2 files changed

+455
-451
lines changed

SharedCode.Core/Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<PrivateAssets>all</PrivateAssets>
1111
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1212
</PackageReference>
13-
<PackageReference Include="protobuf-net" />
13+
<!--<PackageReference Include="protobuf-net" />-->
1414
<PackageReference Include="System.Drawing.Common" />
1515
<PackageReference Include="System.Reflection.Metadata" />
1616
<PackageReference Include="System.Text.Json" />

0 commit comments

Comments
 (0)