Interface IOneOf<T1, T2, T3, T4, T5, T6>
- Namespace
- REslava.Result.AdvancedPatterns
- Assembly
- REslava.Result.dll
Marker interface for a discriminated union of six possible types.
public interface IOneOf<T1, T2, T3, T4, T5, T6>
Type Parameters
T1T2T3T4T5T6
- 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
AsT5
T5 AsT5 { get; }
Property Value
- T5
AsT6
T6 AsT6 { get; }
Property Value
- T6
IsT1
bool IsT1 { get; }
Property Value
IsT2
bool IsT2 { get; }
Property Value
IsT3
bool IsT3 { get; }
Property Value
IsT4
bool IsT4 { get; }
Property Value
IsT5
bool IsT5 { get; }
Property Value
IsT6
bool IsT6 { get; }