Allows the registration of a service with an associated name.
Initializes a new instance of NamedService.
public Void NamedService(name, instance)
Name | Type | Summary |
---|---|---|
name | String | |
instance | TService |
The instance of the service.
public TService Instance { get; }
Service name.
public String Name { get; }
In this document