Class ServiceDefinition
Represents a general service definition and provides basic information about existing service versions.
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 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
public Collection<Property> Properties { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<Property> |
References
Gets collection of declarative references, dependencies, or links between this service and other entities.
Declaration
public Collection<EntityReference> References { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.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
public Collection<ServiceVersionSummary> ServiceVersions { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.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. |
Implements
System.Runtime.Serialization.IExtensibleDataObject
System.IEquatable<T>