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
[DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
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(int, 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 |
|---|---|---|
| int | 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
[DataMember(EmitDefaultValue = false)]
public Collection<EndpointSubtree> Endpoints { get; }
Property Value
| Type | Description |
|---|---|
| Collection<EndpointSubtree> |
Operations
Gets collection of operations included in the contract.
Declaration
[DataMember(EmitDefaultValue = false)]
public Collection<OperationSubtree> Operations { get; }
Property Value
| Type | Description |
|---|---|
| Collection<OperationSubtree> |