Table of Contents

Interface IInjector

Namespace
Switchboard
Assembly
Switchboard.InjectorLocator.dll

Provides a generic interface for getting an instance of a requested type.

public interface IInjector
Extension Methods

Methods

Get<T>()

Provides an instance of the requested type of dependency.

T Get<T>() where T : class

Returns

T

Returns a reference to the requested type, or null.

Type Parameters

T

The type of instance requested.