Skip to content

Repository files navigation

Assured

Assured

Typed results for C#: Result<TValue, TError> with explicit state.

General-purpose .NET, designed so that it also works in Unity: the code stays within the C# dialect Unity compiles, and the hot path does not allocate.

Packages

Each package lives in a folder of the same name, and that folder's README.md is the package's documentation.

  • Assured — the library.
  • Assured.Analyzers — Roslyn analyzers that report unchecked unwraps and allocating delegates in code that uses the library.

Building

Standard .NET SDK workflow from the repository root:

dotnet build
dotnet test
dotnet pack

Package metadata, target frameworks and language versions are declared in each project file.

Contributing

Warnings are errors, and every public member needs XML documentation; the build enforces both. Changes in behavior come with tests in the package's .Tests project.

License

MIT, see LICENSE.

About

Result<TValue, TError> for C# with explicit state: created only through Value/Error, default is invalid, no allocations on the hot path. Works in Unity.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages