Class ContractDescriptor
- Namespace
- AnyProtocol
- Assembly
- AnyProtocol.dll
Describes contract metadata used at runtime.
public sealed class ContractDescriptor
- Inheritance
-
ContractDescriptor
- Inherited Members
Constructors
ContractDescriptor(Type, IReadOnlyList<ContractMethodDescriptor>)
Initializes a new instance of the ContractDescriptor class.
public ContractDescriptor(Type contractType, IReadOnlyList<ContractMethodDescriptor> methods)
Parameters
contractTypeTypeThe contract type.
methodsIReadOnlyList<ContractMethodDescriptor>The methods.
Properties
ContractType
Gets the contract type.
public Type ContractType { get; }
Property Value
- Type
The contract type.
Methods
Gets the methods.
public IReadOnlyList<ContractMethodDescriptor> Methods { get; }
Property Value
- IReadOnlyList<ContractMethodDescriptor>
The methods.