Class ServiceId
Default IServiceId implementation
Implements
Namespace: Solti.Utils.DI.Interfaces
Assembly: Solti.Utils.DI.Interfaces.dll
Syntax
public sealed class ServiceId : Object, IServiceId
Constructors
ServiceId(Type, Object)
Creates a new ServiceId instance.
Declaration
public ServiceId(Type type, object key)
Parameters
Type | Name | Description |
---|---|---|
Type | type | |
Object | key |
Properties
Key
The (optional) service name.
Declaration
public object Key { get; }
Property Value
Type | Description |
---|---|
Object |
Type
The service interface.
Declaration
public Type Type { get; }
Property Value
Type | Description |
---|---|
Type |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |