C# Класс Revenj.Extensibility.Autofac.Features.ResolveAnything.AnyConcreteTypeNotAlreadyRegisteredSource

Provides registrations on-the-fly for any concrete type not already registered with the container.
Наследование: IRegistrationSource
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

AnyConcreteTypeNotAlreadyRegisteredSource() публичный Метод

Initializes a new instance of the AnyConcreteTypeNotAlreadyRegisteredSource class.
public AnyConcreteTypeNotAlreadyRegisteredSource ( ) : System
Результат System

AnyConcreteTypeNotAlreadyRegisteredSource() публичный Метод

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.
Результат System

RegistrationsFor() публичный Метод

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.
Результат IEnumerable

ToString() публичный Метод

Returns a T:System.String that represents the current T:System.Object.
public ToString ( ) : string
Результат string