Class ServiceDefinition
Represents a general service definition and provides basic information about existing service versions.
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 ServiceDefinition : Service, IValidator, IExtensibleDataObject, IEquatable<Service>, IFolderEntity
Constructors
ServiceDefinition()
Instantiates an empty service definition.
Declaration
public ServiceDefinition()
ServiceDefinition(Service)
Initializes new instance from provided service entity.
Declaration
public ServiceDefinition(Service service)
Parameters
| Type | Name | Description |
|---|---|---|
| Service | service | Service be initialized from. |
Properties
Properties
Gets collection of general properties assigned to the service.
Declaration
[DataMember]
public Collection<Property> Properties { get; }
Property Value
| Type | Description |
|---|---|
| Collection<Property> |
References
Gets collection of declarative references, dependencies, or links between this service and other entities.
Declaration
[DataMember]
public Collection<EntityReference> References { get; }
Property Value
| Type | Description |
|---|---|
| Collection<EntityReference> |
ServiceVersions
Gets collection of service versions belonging to the service. This collection has no effect during service creation or modification and should be cleared to reduce message size.
Declaration
[DataMember]
public Collection<ServiceVersionSummary> ServiceVersions { get; }
Property Value
| Type | Description |
|---|---|
| Collection<ServiceVersionSummary> |
Methods
CopyFrom(Service)
Populates current instance from provided service entity.
Declaration
public void CopyFrom(Service service)
Parameters
| Type | Name | Description |
|---|---|---|
| Service | service | Service to be initialized from. |