C# 클래스 Revenj.Extensibility.Autofac.Features.OwnedInstances.OwnedInstanceRegistrationSource

Generates registrations for services of type Owned{T} whenever the service T is available.
상속: IRegistrationSource
파일 보기 프로젝트 열기: ngs-doo/revenj

공개 메소드들

메소드 설명
RegistrationsFor ( Service service, Func registrationAccessor ) : IEnumerable

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

ToString ( ) : string

메소드 상세

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() 공개 메소드

public ToString ( ) : string
리턴 string