Class ServiceId

Default IServiceId implementation

Inheritance
System.Object
ServiceId
Implements
IServiceId
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
System.Type type
System.Object key

Properties

Key

The (optional) service name.

Declaration
public object Key { get; }
Property Value
Type Description
System.Object

Type

The service interface.

Declaration
public Type Type { get; }
Property Value
Type Description
System.Type

Methods

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String

Implements

IServiceId
In This Article
Back to top Generated by DocFX