aqua - aqua-core-protobuf-net 5.4.0-alpha-002
Provides protobuf-net configuration for Aqua types.
PM> Install-Package aqua-core-protobuf-net -Version 5.4.0-alpha-002 -Source https://www.myget.org/F/aqua/api/v3/index.json
> nuget.exe install aqua-core-protobuf-net -Version 5.4.0-alpha-002 -Source https://www.myget.org/F/aqua/api/v3/index.json
> dotnet add package aqua-core-protobuf-net --version 5.4.0-alpha-002 --source https://www.myget.org/F/aqua/api/v3/index.json
source https://www.myget.org/F/aqua/api/v3/index.json
nuget aqua-core-protobuf-net ~> 5.4.0-alpha-002
Copy to clipboard
> choco install aqua-core-protobuf-net --version 5.4.0-alpha-002 --source https://www.myget.org/F/aqua/api/v2
Import-Module PowerShellGet
Register-PSRepository -Name "aqua" -SourceLocation "https://www.myget.org/F/aqua/api/v2"
Install-Module -Name "aqua-core-protobuf-net" -RequiredVersion "5.4.0-alpha-002" -Repository "aqua" -AllowPreRelease
Copy to clipboard
Browse the sources in this package using Visual Studio or WinDbg by configuring the following symbol server URL: https://www.myget.org/F/aqua/api/v2/symbolpackage/
aqua-core
branch | AppVeyor | Travis CI | Codecov.io | Codacy | CodeFactor |
---|---|---|---|---|---|
main |
package | nuget | myget |
---|---|---|
aqua-core |
||
aqua-core-newtonsoft-json |
||
aqua-core-protobuf-net |
||
aqua-core-text-json |
Transform any object-graph into a dynamic, composed dictionaries like structure, holding serializable values and type information.
Aqua-core provides a bunch of serializable classes:
DynamicObject
TypeInfo
FieldInfo
PropertyInfo
MethodInfo
ConstructorInfo
Any object graph may be translated into a DynamicObject
structure and back to it's original type using DynamicObjectMapper
.
Sample
Mapping an object graph into a DynamicObject
and then back to it's original type
Blog blog = new Blog
{
Title = ".NET Blog",
Description = "A first-hand look from the .NET engineering teams",
Posts = new[]
{
new Post
{
Title = "Announcing .NET Core 1.0",
Date = new DateTime(2016, 6, 27),
Author = "rlander"
Text = "We are excited to announce the release of .NET Core 1.0, ASP.NET Core 1.0 and " +
"Entity Framework Core 1.0, available on Windows, OS X and Linux! " +
".NET Core is a cross-platform, open source, and modular .NET platform [...]",
},
new Post
{
Title = "Happy 15th Birthday .NET!",
Date = new DateTime(2017, 2, 13),
Author = "bmassi",
Text = "Today marks the 15th anniversary since .NET debuted to the world [...]",
}
}
}
DynamicObject dynamicObject = new DynamicObjectMapper().MapObject(blog);
Blog restoredBlog = new DynamicObjectMapper().Map(dynamicObject) as Blog;
-
.NETFramework 6.0
- aqua-core (>= 5.4.0-alpha-002)
- protobuf-net (>= 2.4.8)
-
.NETStandard 2.0
- aqua-core (>= 5.4.0-alpha-002)
- protobuf-net (>= 2.4.8)
-
.NETStandard 2.1
- aqua-core (>= 5.4.0-alpha-002)
- protobuf-net (>= 2.4.8)
- .NETFramework 6.0: 6.0.0.0
- .NETStandard 2.0: 2.0.0.0
- .NETStandard 2.1: 2.1.0.0
OwnersChristof Senn |
AuthorsChristof Senn |
Project URLhttps://github.com/6bee/aqua-core |
LicenseUnknown |
Tagsprotobuf protobuf-net proto2 proto3 binary serialization |
Info599 total downloads |
24 downloads for version 5.4.0-alpha-002 |
Download (73.67 KB) |
Download symbols (124.79 KB) |
Found on the current feed only |
Package history
Version | Size | Last updated | Downloads | Mirrored? | |||
---|---|---|---|---|---|---|---|
5.4.1 | 72.03 KB | Wed, 10 Jul 2024 12:14:34 GMT | 12 | ||||
5.4.0 | 72.01 KB | Tue, 04 Jun 2024 13:32:19 GMT | 11 | ||||
5.4.0-beta-001 | 72.08 KB | Tue, 30 Apr 2024 23:55:09 GMT | 9 | ||||
5.4.0-alpha-005 | 72.09 KB | Tue, 23 Apr 2024 07:24:50 GMT | 6 | ||||
5.4.0-alpha-004 | 72.09 KB | Mon, 29 Jan 2024 10:02:33 GMT | 8 | ||||
5.4.0-alpha-002 | 73.67 KB | Wed, 13 Dec 2023 09:42:32 GMT | 24 | ||||
5.4.0-alpha-001 | 73.69 KB | Wed, 06 Dec 2023 14:21:34 GMT | 26 | ||||
5.3.0 | 47.08 KB | Thu, 14 Sep 2023 02:19:51 GMT | 503 |