Click or drag to resize

Service Class

Service represents a simulated Web Service.
Inheritance Hierarchy

Namespace:  Hummingbird.TestFramework.ExtensionProject
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
[XmlIncludeAttribute(typeof(SoapService))]
[DataContractAttribute(Namespace = "http://www.hummingbird-alm.com/testframework/201610")]
[KnownTypeAttribute(typeof(SoapService))]
public abstract class Service : ExtensionNode

The Service type exposes the following members.

Constructors
  NameDescription
Protected methodService
Initializes a new instance of the Service class.
Top
Properties
  NameDescription
Public propertyAnalysedDate
Gets or sets the date where the extension is analyzed.
(Inherited from ExtensionNode.)
Public propertyClientServiceId
Gets or sets the client service identifier. it is generated once when the instance is initialized. If the service has multiple Endpoints or Service Contracts, then the Identifier will be generated according to this ServiceId and the Contract Name
Public propertyCreateDate
Gets or sets the create date.
(Inherited from ExtensionNode.)
Public propertyDefinitionFile
The entry point of the definition file. For SOAP WebServices, it is the .WSDL file, For Swagger Services it is the swagger.json file. For other type of services, This property is not used.
Public propertyDescription
Gets or sets the description.
(Inherited from ExtensionNode.)
Public propertyGeneratedProxyCode
Gets or sets the generated C# code for WCF Proxy.
Public propertyGeneratedStubCode
Gets or sets the generated C# code for WCF service stub (used as simulator)
Public propertyIsAnalysed
Gets or sets a value indicating whether this instance is analyzed.
(Inherited from ExtensionNode.)
Protected propertyIsDeserialzing
Gets or sets a value indicating whether this instance is deserialzing.
(Inherited from ExtensionNode.)
Public propertyLastModificationDate
Gets or sets the last modification date.
(Inherited from ExtensionNode.)
Public propertyName
Gets or sets the name of the node (represents Application, Category or Service)
(Inherited from ExtensionNode.)
Public propertyPassword
Gets or sets the password used to initialize service description and call the web service.
Public propertyProxyCodeAssembly
Gets or sets the Assembly object (Compiled from GeneratedProxyCode).
Public propertyProxyCodeAssemblyContent
Gets or sets the proxy code assembly (dll) value represented in byte[], so it can be serialized and loaded.
Public propertyReferredCategory
Gets the referred ServiceCategory where this Service belongs.
Public propertyServerServiceId
Gets or sets the server service identifier, it is generated when the instance is initialized.
Public propertyServiceType
Gets the type of current service: SOAP, JSON, ...
Public propertyTargetNamespace
Gets or sets the target namespace for generated code
Public propertyUsername
Gets or sets the user name used to initialize service description and call the web service.
Top
Methods
  NameDescription
Public methodAnalyze
Call the analyzer and mark IsAnalysed flag and date.
(Inherited from ExtensionNode.)
Public methodAnalyzeAsync
Call the analyzer and mark IsAnalysed flag and date in asynchronous mode
(Inherited from ExtensionNode.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInternalAnalyze
Analyze from initial file and fills service the information to different
(Inherited from ExtensionNode.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodNotifyPropertyChanged
Notifies the property value has been changed.
(Inherited from ExtensionNode.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when property value changed.
(Inherited from ExtensionNode.)
Top
Extension Methods
  NameDescription
Public Extension MethodToStringOrXml
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.)
Public Extension MethodToXmlString
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.)
Top
See Also