Class ServiceMetadata
Represents the metadata of a service.
Inheritance
System.Object
ServiceMetadata
Namespace: Copper.Service.Metadata
Assembly: Copper.Service.dll
Syntax
public class ServiceMetadata
Constructors
View SourceServiceMetadata(String, String, String, String)
Initializes a new instance of the ServiceMetadata class.
Declaration
public ServiceMetadata(string serviceName, string serviceTypeName, string applicationName, string applicationTypeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | serviceName | The name of the service. |
System.String | serviceTypeName | The name of the service type. |
System.String | applicationName | The name of the application. |
System.String | applicationTypeName | The name of the application type. |
Properties
View SourceApplicationName
Gets the name of the application in which the service is running.
Declaration
public string ApplicationName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the application in which the service is running. |
ApplicationTypeName
Gets the name of the application type in which the service is running.
Declaration
public string ApplicationTypeName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the application type in which the service is running. |
ListenerMetadataCollection
Gets the service's listener metadata collection.
Declaration
public IReadOnlyCollection<ListenerMetadata> ListenerMetadataCollection { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyCollection<ListenerMetadata> | The service's listener metadata collection. |
ServiceName
Gets the name of the service.
Declaration
public string ServiceName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the service. |
ServiceTypeName
Gets the name of the service type.
Declaration
public string ServiceTypeName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the service type. |