Interface IServiceContextProvider
Provides a set of properties relating to a service's context.
Namespace: Copper.Service.Interface
Assembly: Copper.Service.dll
Syntax
public interface IServiceContextProvider
Properties
View SourceApplicationName
Gets the name of the application.
Declaration
string ApplicationName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the application. |
ApplicationTypeName
Gets the name of the application type.
Declaration
string ApplicationTypeName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the application type. |
NodeName
Gets the node name.
Declaration
string NodeName { get; }
Property Value
Type | Description |
---|---|
System.String | The node name. |
PartitionId
Gets the partition ID.
Declaration
string PartitionId { get; }
Property Value
Type | Description |
---|---|
System.String | The partition ID. |
ReplicaOrInstanceId
Gets the stateful service replica ID or the stateless service instance ID.
Declaration
string ReplicaOrInstanceId { get; }
Property Value
Type | Description |
---|---|
System.String | The stateful service replica ID or the stateless service instance ID. |
ServiceName
Gets the service name.
Declaration
string ServiceName { get; }
Property Value
Type | Description |
---|---|
System.String | The service name. |
ServiceTypeName
Gets the service type name.
Declaration
string ServiceTypeName { get; }
Property Value
Type | Description |
---|---|
System.String | The service type name. |