NamedService

Allows the registration of a service with an associated name.

Namespace:
KpokPatagon.DependencyInjection
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No

Constructors

NamedService

Initializes a new instance of NamedService.

Signature:
public Void NamedService(name, instance)
Parameters
Name Type Summary
name String
instance TService

Properties

Instance

The instance of the service.

Signature:
public TService Instance { get; }

Name

Service name.

Signature:
public String Name { get; }