Namespace REslava.Result.AdvancedPatterns
Classes
- MaybeResultInterop
Bidirectional bridge between Maybe<T> and Result<TValue>.
- OneOfExtensions
Extension methods for OneOf types, providing conversion between 2-way through 6-way OneOf instances.
- OneOfResultIntegrationExtensions
Pipeline integration extensions for seamless OneOf and Result interoperability. Enables mixed workflows where both patterns can work together naturally.
- ResultOneOfExtensions
Essential conversion methods between Result<T> and OneOf<T1, T2>. Focused on the most common use cases with explicit, clear conversions.
Structs
- Maybe<T>
Represents an optional value that may or may not exist. A functional programming alternative to null references.
- OneOf<T1, T2>
Represents a value that can be one of two possible types. A type-safe discriminated union for functional programming patterns.
- OneOf<T1, T2, T3>
Represents a value that can be one of three possible types. A type-safe discriminated union for functional programming patterns.
- OneOf<T1, T2, T3, T4>
Represents a value that can be one of four possible types. A type-safe discriminated union for functional programming patterns.
- OneOf<T1, T2, T3, T4, T5>
Represents a value that can be one of five possible types. A type-safe discriminated union for functional programming patterns.
- OneOf<T1, T2, T3, T4, T5, T6>
Represents a value that can be one of six possible types. A type-safe discriminated union for functional programming patterns.