Class ServiceContextProvider
Provides a set of properties relating to a service's context.
Inheritance
System.Object
ServiceContextProvider
Implements
Namespace: Copper.Service
Assembly: Copper.Service.dll
Syntax
public class ServiceContextProvider : IServiceContextProvider
Constructors
View SourceServiceContextProvider(ServiceContext)
Initializes a new instance of the ServiceContextProvider class.
Declaration
public ServiceContextProvider(ServiceContext serviceContext)
Parameters
Type | Name | Description |
---|---|---|
ServiceContext | serviceContext | The service context. |
Properties
View SourceApplicationName
Gets the name of the application.
Declaration
public string ApplicationName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the application. |
ApplicationTypeName
Gets the name of the application type.
Declaration
public string ApplicationTypeName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the application type. |
ServiceName
Gets the service name.
Declaration
public string ServiceName { get; }
Property Value
Type | Description |
---|---|
System.String | The service name. |
ServiceTypeName
Gets the service type name.
Declaration
public string ServiceTypeName { get; }
Property Value
Type | Description |
---|---|
System.String | The service type name. |