Show / Hide Table of Contents

Class ServiceFromResolutionInfoResolver

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

Inheritance
System.Object
ServiceFromResolutionInfoResolver
Implements
IGetsDecoratedServiceFromResolutionInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CSF.DecoratorBuilder
Assembly: CSF.DecoratorBuilder.Common.dll
Syntax
public class ServiceFromResolutionInfoResolver : IGetsDecoratedServiceFromResolutionInfo

Constructors

| Improve this Doc View Source

ServiceFromResolutionInfoResolver(IGetsSingleObjectFromResolutionInfo)

Initialises a new instance of ServiceFromResolutionInfoResolver.

Declaration
public ServiceFromResolutionInfoResolver(IGetsSingleObjectFromResolutionInfo serviceResolver)
Parameters
Type Name Description
IGetsSingleObjectFromResolutionInfo serviceResolver

A service resolver.

Exceptions
Type Condition
System.ArgumentNullException

If serviceResolver is null.

Methods

| Improve this Doc View Source

GetDecoratedService(DecoratorBasedServiceResolutionInfo)

Get the service, resolved using the decorator pattern.

Declaration
public object GetDecoratedService(DecoratorBasedServiceResolutionInfo resolutionInfo)
Parameters
Type Name Description
DecoratorBasedServiceResolutionInfo resolutionInfo

Information about how the service should be resolved.

Returns
Type Description
System.Object

The resolved service.

Implements

IGetsDecoratedServiceFromResolutionInfo
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX