Comments (2)
Not really without explicitly implementing it. See MacAddress as an example.
It should be pretty straight forward. Decorated with SerializableAttribute
and implement ISerializable
.
Use the provided a public void ISerializable.GetObjectData([NotNull] SerializationInfo info, StreamingContext context)
method to serialize
- For
Subnet
include theIPAddress Head
and intRoutePrefix
- For
IPAddressRange
includeIPAddress Head
andIPAddress Tail
Then create the protected XXXX([NotNull] SerializationInfo info, StreamingContext context)
constructor deserialize data, and have it delegate to the appropriate existing constructor.
Standard custom Custom serialization approach.
from arcus.
Can you be a bit more explicit as to what exactly should be spit out once serialized?
from arcus.
Related Issues (20)
- Source Link does not appear to work as expected HOT 4
- [TechDebt] Clean up csproj file replacing deprecated configuration
- Introduce basic support for IPv4 classful networks
- It should be possible to determine if an IPAddrees or IPAddress range is private or publc
- Arcus should provide basic support of MAC Address manipulation (network adjacent)
- Addressing CA1036 for IPAddressRange and Subnet HOT 2
- NuGet Icon not configured properly do display both on NuGet site and Nuget PackageManager within Visual Studio HOT 6
- Shield for Azure DevOps shield is broken in readme screen. HOT 3
- [Doc] Add security.md file
- [BUG] Readme icon borked HOT 1
- [Doc] Create a pull request template
- [Doc] Create a style guideline HOT 1
- [Feature Request] MacAddress shold be able to map to EUI-64 bytes for legacy support HOT 1
- [Doc] Pull request numbering looks bad when making an actual pull request
- [TechDebt] Arcus should make use of Gulliver 1.0.2
- [BUG] Releasing to NuGet from Azure DevOps fails
- [BUG] MAC address regular expression is wrong HOT 2
- [TechDebt] rename Git default branch to `main`
- Create automated build and deployment to nuget
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arcus.