EitherOr<Ta, Tb>References public readonly struct EitherOr<Ta, Tb> Show allA pair of values, only one of which is usually set. Type parameters:Ta Tb AllConstructorsPropertiesMethodsOperators ObsoleteInherited ConstructorsEitherOr#Create an instance containing both an A and a B value.public EitherOr( Taa, Tbb)EitherOr#Create an instance containing only an A value.public EitherOr( Taa)EitherOr#Create an instance containing only a B value.public EitherOr( Tbb)PropertiesA#The Ta value, or default(Ta) if unset.public Ta A { get; }B#The Tb value, or default(Tb) if unset.public Tb B { get; }HasA#Gets whether the A value has been set. Note that A may still be null or default.public bool HasA { get; }HasAny#Gets whether either A, or B or both have been set.public bool HasAny { get; }HasB#Gets whether the B value has been set. Note that B may still be null or default.public bool HasB { get; }HasNeither#Gets whether neither A nor B have been set.public bool HasNeither { get; }MethodsAddA#Add or overwrite the A value, do not modify the B value.public EitherOr<Ta, Tb> AddA( Taa)AddB#Add or overwrite the B value, do not modify the A value.public EitherOr<Ta, Tb> AddB( Tbb)Equals#public override bool Equals( objectobj)Overrides: ValueType.EqualsGetHashCode#public override int GetHashCode()Overrides: ValueType.GetHashCodeWithA#Overwrite the A value, clear the B value.public EitherOr<Ta, Tb> WithA( Taa)WithB#Overwrite the A value, clear the B value.public EitherOr<Ta, Tb> WithB( Tbb)OperatorsOperationResultDescriptionEitherOr<Ta, Tb>==EitherOr<Ta, Tb>boolEitherOr<Ta, Tb>!=EitherOr<Ta, Tb>bool