Class DynamicContract
- Namespace
- ShapeShift.Schema
- Assembly
- ShapeShift.dll
Describes a value whose structure is chosen at runtime rather than by its .NET type, such as ShapeShiftValue.
public sealed class DynamicContract : DataContract
- Inheritance
-
DynamicContract
- Inherited Members
Remarks
Any value the format can represent is valid for this contract.
Constructors
DynamicContract(Type)
Describes a value whose structure is chosen at runtime rather than by its .NET type, such as ShapeShiftValue.
public DynamicContract(Type dataType)
Parameters
dataTypeType- The .NET type that this contract describes.
Remarks
Any value the format can represent is valid for this contract.
Properties
Kind
Gets the kind of this contract, which identifies the concrete subclass.
public override DataContractKind Kind { get; }