C# Class Revenj.Extensibility.Autofac.Features.ResolveAnything.AnyConcreteTypeNotAlreadyRegisteredSource

Provides registrations on-the-fly for any concrete type not already registered with the container.
Inheritance: IRegistrationSource
显示文件 Open project: ngs-doo/revenj

Public Methods

Method Description
AnyConcreteTypeNotAlreadyRegisteredSource ( ) : System

Initializes a new instance of the AnyConcreteTypeNotAlreadyRegisteredSource class.

AnyConcreteTypeNotAlreadyRegisteredSource ( bool>.Func predicate ) : System

Initializes a new instance of the AnyConcreteTypeNotAlreadyRegisteredSource class.

RegistrationsFor ( Service service, Func registrationAccessor ) : IEnumerable

Retrieve registrations for an unregistered service, to be used by the container.

ToString ( ) : string

Returns a T:System.String that represents the current T:System.Object.

Method Details

AnyConcreteTypeNotAlreadyRegisteredSource() public method

Initializes a new instance of the AnyConcreteTypeNotAlreadyRegisteredSource class.
public AnyConcreteTypeNotAlreadyRegisteredSource ( ) : System
return System

AnyConcreteTypeNotAlreadyRegisteredSource() public method

Initializes a new instance of the AnyConcreteTypeNotAlreadyRegisteredSource class.
public AnyConcreteTypeNotAlreadyRegisteredSource ( bool>.Func predicate ) : System
predicate bool>.Func A predicate that selects types the source will register.
return System

RegistrationsFor() public method

Retrieve registrations for an unregistered service, to be used by the container.
public RegistrationsFor ( Service service, Func registrationAccessor ) : IEnumerable
service Revenj.Extensibility.Autofac.Core.Service The service that was requested.
registrationAccessor Func A function that will return existing registrations for a service.
return IEnumerable

ToString() public method

Returns a T:System.String that represents the current T:System.Object.
public ToString ( ) : string
return string