Class DeltaPackUnionAttribute
- Namespace
- DeltaPack
- Assembly
- DeltaPack.dll
Marks a type as a union variant. Apply to the base class/interface.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface)]
public sealed class DeltaPackUnionAttribute : Attribute
- Inheritance
-
DeltaPackUnionAttribute
- Inherited Members
Constructors
DeltaPackUnionAttribute(params Type[])
public DeltaPackUnionAttribute(params Type[] variants)
Parameters
variantsType[]
Properties
Variants
public Type[] Variants { get; }
Property Value
- Type[]