C# 클래스 Revenj.Extensibility.Autofac.Features.OpenGenerics.OpenGenericRegistrationExtensions

파일 보기 프로젝트 열기: ngs-doo/revenj

공개 메소드들

메소드 설명
RegisterGeneric ( ContainerBuilder builder, Type implementor ) : IRegistrationBuilder
RegisterGenericDecorator ( ContainerBuilder builder, Type decoratorType, Type decoratedServiceType, object fromKey, object toKey ) : IRegistrationBuilder

비공개 메소드들

메소드 설명
GetServiceWithKey ( Type serviceType, object key ) : IServiceWithType

메소드 상세

RegisterGeneric() 공개 정적인 메소드

public static RegisterGeneric ( ContainerBuilder builder, Type implementor ) : IRegistrationBuilder
builder ContainerBuilder
implementor System.Type
리턴 IRegistrationBuilder

RegisterGenericDecorator() 공개 정적인 메소드

public static RegisterGenericDecorator ( ContainerBuilder builder, Type decoratorType, Type decoratedServiceType, object fromKey, object toKey ) : IRegistrationBuilder
builder ContainerBuilder
decoratorType System.Type
decoratedServiceType System.Type
fromKey object
toKey object
리턴 IRegistrationBuilder