Interface IOneOf<T1, T2, T3, T4, T5, T6, T7>

Namespace
REslava.Result.AdvancedPatterns
Assembly
REslava.Result.dll

Marker interface for a discriminated union of seven possible types.

public interface IOneOf<T1, T2, T3, T4, T5, T6, T7>

Type Parameters

T1
T2
T3
T4
T5
T6
T7
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

AsT7

T7 AsT7 { get; }

Property Value

T7

IsT1

bool IsT1 { get; }

Property Value

bool

IsT2

bool IsT2 { get; }

Property Value

bool

IsT3

bool IsT3 { get; }

Property Value

bool

IsT4

bool IsT4 { get; }

Property Value

bool

IsT5

bool IsT5 { get; }

Property Value

bool

IsT6

bool IsT6 { get; }

Property Value

bool

IsT7

bool IsT7 { get; }

Property Value

bool