C# 클래스 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.

상속: AbstractMethodReplacer
파일 보기 프로젝트 열기: spring-projects/spring-net 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

DelegatingMethodReplacer() 공개 메소드

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. ///
리턴 System

Implement() 공개 메소드

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.
리턴 object