Show / Hide Table of Contents

Namespace CSF.DecoratorBuilder

Classes

AutofacDecoratedServiceFactory

Implementation of IGetsAutofacDecoratedService which creates an appropriate builder, applies customisations and returns the resolved service, created using the decorator pattern.

AutofacDecoratorBasedServiceResolutionInfoBuilderAdapter

A non-generic builder which creates an instance of DecoratorBasedServiceResolutionInfo.

AutofacGenericDecoratorBasedServiceResolutionInfoBuilderAdapter<TService>

A generic builder which creates an instance of DecoratorBasedServiceResolutionInfo.

AutofacServiceResolver

Implementation of IGetsDecoratedServiceFromResolutionInfo which makes use of the functionality within an Autofac.IComponentContext to resolve services.

DecoratedServiceFactory

Implementation of IGetsDecoratedService which creates an appropriate builder, applies customisations and returns the resolved service, created using the decorator pattern.

DecoratorBasedServiceResolutionInfo

A model for a series of SingleObjectResolutionInfo which describes 'a decorator stack'.

DecoratorBasedServiceResolutionInfoBuilder

A non-generic builder which creates an instance of DecoratorBasedServiceResolutionInfo.

DecoratorBuilderModule

An Autofac Module which registers all of the CSF.DecoratorBuilder types. Register this module to use the decorator builder in your own application.

DependencyInjectionObjectResolver

Implementation of IGetsSingleObjectFromResolutionInfo which uses functionality within Microsoft.Extensions.DependencyInjection.Abstractions to resolve services.

GenericDecoratorBasedServiceResolutionInfoBuilder<TService>

A generic builder which creates an instance of DecoratorBasedServiceResolutionInfo.

ParameterAdapter

An implementation of ITypedResolvable which wraps an Autofac Autofac.Core.Parameter.

ResolutionException

Exception thrown when there is an unexpected exception resolving a service.

ResolvedType

A model which represents an injectable dependency of a specified type, resolved from a service provider.

ServiceFromResolutionInfoResolver

Implementation of IGetsDecoratedServiceFromResolutionInfo which builds up the service using the decorator pattern.

SingleObjectResolutionInfo

Model which represents information about how a service should be resolved.

TypedParam

A model which represents an injectable dependency of a specified type, created from a specific value.

Interfaces

IAutofacDecoratorBuilder

An object which implements all of ICreatesAutofacDecorator, ICustomizesAutofacDecorator & IHasDecoratorBasedServiceResolutionInfo.

IAutofacGenericDecoratorBuilder<TService>

An object which implements all of ICreatesAutofacDecorator<TService>, ICustomizesAutofacDecorator<TService> & IHasDecoratorBasedServiceResolutionInfo.

ICreatesAutofacDecorator

A builder/helper object by which a developer selects the initial concrete implementation type for the innermost object in the decorator 'stack'. This is the one class in the stack which is itself not a decorator type.

ICreatesAutofacDecorator<TService>

A builder/helper object by which a developer selects the initial concrete implementation type for the innermost object in the decorator 'stack'. This is the one class in the stack which is itself not a decorator type.

ICreatesDecorator

A builder/helper object by which a developer selects the initial concrete implementation type for the innermost object in the decorator 'stack'. This is the one class in the stack which is itself not a decorator type.

ICreatesDecorator<TService>

A builder/helper object by which a developer selects the initial concrete implementation type for the innermost object in the decorator 'stack'. This is the one class in the stack which is itself not a decorator type.

ICustomizesAutofacDecorator

A builder/helper object by which a developer selects the decorator types to be used when creating the service.

ICustomizesAutofacDecorator<TService>

A builder/helper object by which a developer selects the decorator types to be used when creating the service.

ICustomizesDecorator

A builder/helper object by which a developer selects the decorator types to be used when creating the service.

ICustomizesDecorator<TService>

A builder/helper object by which a developer selects the decorator types to be used when creating the service.

IDecoratorBuilder

An object which implements all of ICreatesDecorator, ICustomizesDecorator & IHasDecoratorBasedServiceResolutionInfo.

IGenericDecoratorBuilder<TService>

An object which implements all of ICreatesDecorator<TService>, ICustomizesDecorator<TService> & IHasDecoratorBasedServiceResolutionInfo.

IGetsAutofacDecoratedService

A factory service which uses the decorator pattern to build and return a service by specifying which implementation types to use and in which order.

IGetsDecoratedService

A factory service which uses the decorator pattern to build and return a service by specifying which implementation types to use and in which order.

IGetsDecoratedServiceFromResolutionInfo

An object which resolves a service using the decorator pattern, based upon a DecoratorBasedServiceResolutionInfo.

IGetsSingleObjectFromResolutionInfo

An object which resolves an instance of a single object, from a SingleObjectResolutionInfo.

IHasDecoratorBasedServiceResolutionInfo

An object which can get DecoratorBasedServiceResolutionInfo.

ITypedResolvable

An object which can resolve a value of a specified type.

In This Article
Back to top Generated by DocFX