Class ServiceVersionImportDetails
Provides information about the entities that need to be imported from metadata and included in the new service version.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Description
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class ServiceVersionImportDetails : IValidator
Constructors
ServiceVersionImportDetails()
Instantiates an empty object.
Declaration
public ServiceVersionImportDetails()
Properties
Contracts
Gets collection of names and namespaces of the contracts (port types) that need to be imported.
Declaration
public Collection<XmlQualifiedName> Contracts { get; }
Property Value
Type | Description |
---|---|
Collection<XmlQualifiedName> |
Description
Gets or sets service version description.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
String |
Endpoints
Gets collection of endpoint (port) names that need to be imported.
Declaration
public Collection<string> Endpoints { get; }
Property Value
Type | Description |
---|---|
Collection<String> |
ErrorMessage
Gets the message indicating the errors found during validation process.
Declaration
public string ErrorMessage { get; }
Property Value
Type | Description |
---|---|
String |
IsSchemaFirst
Gets or sets flag indicating that XML schemas must be extracted from WSDL document(s) and attached to the service version which will be created as "Schema First" service giving ability to change operation definitions and message schemas.
Declaration
public bool IsSchemaFirst { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
QName
Gets or sets service name and namespace that must match to the ones defined in the metadata. If metadata defines no services, arbitrary name and namespace should be provided.
Declaration
public XmlQualifiedName QName { get; set; }
Property Value
Type | Description |
---|---|
XmlQualifiedName |
ServiceId
Gets or sets service identifier.
Declaration
public int ServiceId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Status
Gets or sets service version status.
Declaration
public ServiceVersionStatus Status { get; set; }
Property Value
Type | Description |
---|---|
ServiceVersionStatus |
Methods
Validate()
Evaluates the state of the object. Returns True, if state is valid, or False, if it is not.
Declaration
public bool Validate()
Returns
Type | Description |
---|---|
Boolean | True if state is valid; otherwise, false. |