C# Class Arc.Infrastructure.Dependencies.Registration.Auto.RegisterTypeToFirstMatchStrategy

Registers to first criteria match (interface).
Inheritance: BaseRegisterTypeStrategy, ITypeRegistrationStrategy
Mostra file Open project: marektihkan/Arc

Public Methods

Method Description
Register ( Type type, IServiceLocator locator ) : void

Registers the specified type.

RegisterTypeToFirstMatchStrategy ( Func binding ) : System

Initializes a new instance of the RegisterTypeToFirstMatchStrategy class.

RegisterTypeToFirstMatchStrategy ( bool>.Func binding ) : System

Initializes a new instance of the RegisterTypeToFirstMatchStrategy class.

Method Details

Register() public method

Registers the specified type.
public Register ( Type type, IServiceLocator locator ) : void
type System.Type The type.
locator IServiceLocator The locator.
return void

RegisterTypeToFirstMatchStrategy() public method

Initializes a new instance of the RegisterTypeToFirstMatchStrategy class.
public RegisterTypeToFirstMatchStrategy ( Func binding ) : System
binding Func The binding.
return System

RegisterTypeToFirstMatchStrategy() public method

Initializes a new instance of the RegisterTypeToFirstMatchStrategy class.
public RegisterTypeToFirstMatchStrategy ( bool>.Func binding ) : System
binding bool>.Func The binding.
return System