C# Class Spring.Objects.Factory.Support.DelegatingMethodReplacer

An Spring.Objects.Factory.Support.IMethodReplacer implementation that delegates to an Spring.Objects.Factory.Support.IMethodReplacer that is obtained as the result of a lookup in an associated IoC container.

This class is reserved for internal use within the framework; it is not intended to be used by application developers using Spring.NET.

Inheritance: AbstractMethodReplacer
Datei anzeigen Open project: spring-projects/spring-net Class Usage Examples

Public Methods

Method Description
DelegatingMethodReplacer ( IConfigurableObjectDefinition objectDefinition, IObjectFactory objectFactory ) : System

Creates a new instance of the ArgumentNullException class.

Implement ( object target, MethodInfo method, object arguments ) : object

Reimplements the supplied method by delegating to another Spring.Objects.Factory.Support.IMethodReplacer looked up in an enclosing IoC container.

Method Details

DelegatingMethodReplacer() public method

Creates a new instance of the ArgumentNullException class.
/// If either of the supplied arguments is . ///
public DelegatingMethodReplacer ( IConfigurableObjectDefinition objectDefinition, IObjectFactory objectFactory ) : System
objectDefinition IConfigurableObjectDefinition /// The object definition that is the target of the method replacement. ///
objectFactory IObjectFactory /// The enclosing IoC container with which the above /// is associated. ///
return System

Implement() public method

Reimplements the supplied method by delegating to another Spring.Objects.Factory.Support.IMethodReplacer looked up in an enclosing IoC container.
public Implement ( object target, MethodInfo method, object arguments ) : object
target object /// The instance whose is to be /// (re)implemented. ///
method System.Reflection.MethodInfo /// The method that is to be (re)implemented. ///
arguments object The target method's arguments.
return object