Class ContractSubtree
Represents a service contract tree node with its children.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Services
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class ContractSubtree : Subtree, IEquatable<Subtree>
Constructors
ContractSubtree()
Instanciates new object.
Declaration
public ContractSubtree()
ContractSubtree(Contract)
Initializes new instance from provided contract.
Declaration
public ContractSubtree(Contract contract)
Parameters
Type | Name | Description |
---|---|---|
Contract | contract | Contract to be initialized from. |
ContractSubtree(Int32, String)
Instanciates new object and initializes it with provided identifier and display name.
Declaration
public ContractSubtree(int id, string name)
Parameters
Type | Name | Description |
---|---|---|
Int32 | id | Service contract identifier. |
String | name | Service contract display name. |
Properties
Endpoints
Gets collection of service endpoints exposing this contract.
Declaration
public Collection<EndpointSubtree> Endpoints { get; }
Property Value
Type | Description |
---|---|
Collection<EndpointSubtree> |
Operations
Gets collection of operations included in the contract.
Declaration
public Collection<OperationSubtree> Operations { get; }
Property Value
Type | Description |
---|---|
Collection<OperationSubtree> |