Class ServiceSubtree
Represents a physical or virtual service 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 class ServiceSubtree : Subtree, IEquatable<Subtree>
Constructors
ServiceSubtree()
Instantiates new object.
Declaration
public ServiceSubtree()
ServiceSubtree(Service)
Initializes new instance from provided service.
Declaration
public ServiceSubtree(Service service)
Parameters
Type | Name | Description |
---|---|---|
Service | service | Service to be initialized from. |
ServiceSubtree(Int32, String, Guid, Boolean, ServiceKind)
Instantiates new object and initializes it with provided identifier, display name, and flag indicating the service kind (physical or virtual).
Declaration
public ServiceSubtree(int id, string name, Guid key, bool isVirtual, ServiceKind kind)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | Node identifier. |
System.String | name | Node display name. |
System.Guid | key | Behavior's unique key. |
System.Boolean | isVirtual | If True, the node represents virtual service. Otherwise, physical service. |
ServiceKind | kind | Service kind: SOAP, REST, or OData. |
Properties
IsVirtual
Gets or sets flag indicating that node represents virtual service.
Declaration
public bool IsVirtual { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Kind
Gets or sets the service kind: SOAP, REST, or OData.
Declaration
public ServiceKind Kind { get; set; }
Property Value
Type | Description |
---|---|
ServiceKind |
ServiceVersions
Gets collection of service versions.
Declaration
public Collection<ServiceVersionSubtree> ServiceVersions { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<ServiceVersionSubtree> |
Implements
System.IEquatable<T>