C# Класс Revenj.Extensibility.Autofac.Features.OpenGenerics.OpenGenericServiceBinder

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
EnforceBindable ( Type implementationType, IEnumerable services ) : void
TryBindServiceType ( Service service, IEnumerable configuredOpenGenericServices, Type openGenericImplementationType, Type &constructedImplementationType, IEnumerable &constructedServices ) : bool

Приватные методы

Метод Описание
GetInterface ( Type implementationType, Type serviceType ) : Type
IsCompatibleGenericClassDefinition ( Type implementor, Type serviceType ) : bool
TryFindServiceArgumentForImplementationArgumentDefinition ( Type implementationGenericArgumentDefinition, Type>.IEnumerable serviceArgumentDefinitionToArgument ) : Type
TryMapImplementationGenericArguments ( Type implementationType, Type serviceType, Type serviceTypeDefinition, Type serviceGenericArguments ) : System.Type[]

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

EnforceBindable() публичный статический Метод

public static EnforceBindable ( Type implementationType, IEnumerable services ) : void
implementationType System.Type
services IEnumerable
Результат void

TryBindServiceType() публичный статический Метод

public static TryBindServiceType ( Service service, IEnumerable configuredOpenGenericServices, Type openGenericImplementationType, Type &constructedImplementationType, IEnumerable &constructedServices ) : bool
service Revenj.Extensibility.Autofac.Core.Service
configuredOpenGenericServices IEnumerable
openGenericImplementationType System.Type
constructedImplementationType System.Type
constructedServices IEnumerable
Результат bool