Interface IOneOf<T1, T2, T3, T4>
- Namespace
- REslava.Result.AdvancedPatterns
- Assembly
- REslava.Result.dll
Marker interface for a discriminated union of four possible types.
public interface IOneOf<T1, T2, T3, T4>
Type Parameters
T1T2T3T4
- Extension Methods
Properties
AsT1
T1 AsT1 { get; }
Property Value
- T1
AsT2
T2 AsT2 { get; }
Property Value
- T2
AsT3
T3 AsT3 { get; }
Property Value
- T3
AsT4
T4 AsT4 { get; }
Property Value
- T4
IsT1
bool IsT1 { get; }
Property Value
IsT2
bool IsT2 { get; }
Property Value
IsT3
bool IsT3 { get; }
Property Value
IsT4
bool IsT4 { get; }