AspireUnionAttribute Constructors
Class Constructors 1 member
Specifies that a parameter or property accepts a union of multiple ATS types.
Constructor(Type[]) Section titled Constructor(Type[]) Initializes a new instance with the types that form the union.
public sealed class AspireUnionAttribute{ public AspireUnionAttribute( params Type[] types) { // ... }}Parameters
types Type[] The CLR types that form the union. Must have at least 2 types. Exceptions
ArgumentNullException Thrown when types is null. ArgumentException Thrown when types has fewer than 2 types.