AspireUnionAttribute Constructors
ClassConstructors1 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
typesType[]The CLR types that form the union. Must have at least 2 types.Exceptions
ArgumentNullExceptionThrown when types is null.ArgumentExceptionThrown when types has fewer than 2 types.