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()
Instantiates 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, Guid)
Instantiates new object and initializes it with provided identifier and display name.
Declaration
public ContractSubtree(int id, string name, Guid key)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Int32 | id | Service contract identifier.  | 
      
| String | name | Service contract display name.  | 
      
| Guid | key | Behavior's unique key.  | 
      
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> |