C# Class Revenj.Extensibility.Autofac.Features.OpenGenerics.OpenGenericRegistrationExtensions

Afficher le fichier Open project: ngs-doo/revenj

Méthodes publiques

Méthode Description
RegisterGeneric ( ContainerBuilder builder, Type implementor ) : IRegistrationBuilder
RegisterGenericDecorator ( ContainerBuilder builder, Type decoratorType, Type decoratedServiceType, object fromKey, object toKey ) : IRegistrationBuilder

Private Methods

Méthode Description
GetServiceWithKey ( Type serviceType, object key ) : IServiceWithType

Method Details

RegisterGeneric() public static méthode

public static RegisterGeneric ( ContainerBuilder builder, Type implementor ) : IRegistrationBuilder
builder ContainerBuilder
implementor System.Type
Résultat IRegistrationBuilder

RegisterGenericDecorator() public static méthode

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
Résultat IRegistrationBuilder