Class ServiceId
Defines an identifier class for dependency injection services. A service identifier consists of two parts, scheme and specifier, which are separated by a colon. Type binded services can be defined by the 'type' scheme and name binded by the 'name' scheme.
Inheritance
System.Object
ServiceId
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Juhta.Net.Services
Assembly: Juhta.Net.Services.dll
Syntax
public class ServiceId
Constructors
| Improve this Doc View SourceServiceId(String)
Initializes a new instance.
Declaration
public ServiceId(string serviceId)
Parameters
Type | Name | Description |
---|---|---|
System.String | serviceId | Specifies a service identifier as a string. |
ServiceId(String, String)
Initializes a new instance.
Declaration
public ServiceId(string scheme, string specifier)
Parameters
Type | Name | Description |
---|---|---|
System.String | scheme | Specifies a service identifier scheme. |
System.String | specifier | Specifies a service identifier specifier. |
Properties
| Improve this Doc View SourceScheme
Gets the scheme part of the service identifier.
Declaration
public string Scheme { get; }
Property Value
Type | Description |
---|---|
System.String |
Specifier
Gets the specifier part of the service identifier.
Declaration
public string Specifier { get; }
Property Value
Type | Description |
---|---|
System.String |
Value
Gets the service identifier as a string.
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
System.String |