Asv.Common library
Asv.Common contains the shared primitives used by the other packages in this repository. Its public types live in the Asv.Common namespace. The library targets the framework configured in src/Directory.Build.props, currently net10.0.
Unlike the repository-level overview, this section describes the Asv.Common NuGet package itself.
Installation
The package depends on R3 for reactive helpers and Geodesy for geographic calculations. Configuration providers, protocol transports, application models, and storage formats belong to the neighboring packages described in Modules.
Choose a guide
Task | Main types | Guide |
|---|---|---|
Own resources and subscriptions |
| |
Keep a bounded history or manipulate bit fields |
| |
Parse user input and handle validation failures |
| |
Work with time, identifiers, or display names |
|
First example
InvariantNumberParser returns a validation result instead of requiring callers to catch an exception for ordinary invalid input:
Source and verification
Implementation is under src/Asv.Common; the matching tests are under src/Asv.Common.Test. Run these commands from the repository root:
For repository setup and the other packages, see Getting Started.