Class ServiceVersionImportDetails
Provides information about the entities that need to be imported from metadata and included in the new service version.
Inheritance
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 |
---|---|
System.Collections.ObjectModel.Collection<System.Xml.XmlQualifiedName> |
Description
Gets or sets service version description.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Endpoints
Gets collection of endpoint (port) names that need to be imported.
Declaration
public Collection<string> Endpoints { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<System.String> |
ErrorMessage
Gets the message indicating the errors found during validation process.
Declaration
public string ErrorMessage { get; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.Xml.XmlQualifiedName |
ServiceId
Gets or sets service identifier.
Declaration
public int ServiceId { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Boolean | True if state is valid; otherwise, false. |