DiscriminatedUnion Members

Represents a data type that can store one of two possible options.

The following tables list the members exposed by the DiscriminatedUnion type.

Public Constructors

  Name Description
DiscriminatedUnion Initializes a new instance of the DiscriminatedUnion class.

Top

Public Properties

  Name Description
public property A Gets the value of option A.
public property B Gets the value of option B.
public property Option Gets the discriminated value option set for this instance.

Top

Public Methods

(see also Protected Methods )

  Name Description
public method static CreateA A factory method for creating a discriminated union with option A set.
public method static CreateB A factory method for creating discriminated union with option B set.
public method Equals  Overloaded. (Inherited from Object )
public method GetHashCode  (Inherited from Object )
public method GetType  (Inherited from Object )
public method static ReferenceEquals  (Inherited from Object )
public method ToString Overridden. Retrieves a String instance that represents the current Object instance.

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object )
protected method MemberwiseClone  (Inherited from Object )

Top

See Also

DiscriminatedUnion Class
Microsoft.Dynamics.Framework.Reports Namespace