Class ServiceSubtree
Represents a physical or virtual service tree node with its children.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Services
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public class ServiceSubtree : Subtree, IEquatable<Subtree>
Constructors
ServiceSubtree()
Instanciates 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, 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, bool isVirtual, ServiceKind kind)
Parameters
Type | Name | Description |
---|---|---|
Int32 | id | Node identifier. |
String | name | Node display name. |
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 |
---|---|
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 |
---|---|
Collection<ServiceVersionSubtree> |