Class ContractSubtree
Represents a service contract tree node with its children.
Implements
System.IEquatable<Subtree>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
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 |
---|---|---|
System.Int32 | id | Service contract identifier. |
System.String | name | Service contract display name. |
System.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 |
---|---|
System.Collections.ObjectModel.Collection<EndpointSubtree> |
Operations
Gets collection of operations included in the contract.
Declaration
public Collection<OperationSubtree> Operations { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<OperationSubtree> |
Implements
System.IEquatable<T>