C# 클래스 Spring.Objects.Factory.Support.AbstractMethodReplacer

An Spring.Objects.Factory.Support.IMethodReplacer implementation that provides some convenience support for derived classes.

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

상속: IMethodReplacer
파일 보기 프로젝트 열기: spring-projects/spring-net

공개 메소드들

메소드 설명
Implement ( object target, MethodInfo method, object arguments ) : object

Is ; derived classes must supply an implementation.

보호된 메소드들

메소드 설명
AbstractMethodReplacer ( IConfigurableObjectDefinition objectDefinition, IObjectFactory objectFactory ) : System

Creates a new instance of the ArgumentNullException class.

This is an class, and as such has no publicly visible constructors.

GetObject ( string objectName ) : object

Helper method for subclasses to lookup an object from an enclosing IoC container.

GetOverride ( MethodInfo method ) : Spring.Objects.Factory.Support.MethodOverride

Helper method for subclasses to retrieve the appropriate Spring.Objects.Factory.Support.MethodOverride for the supplied method.

메소드 상세

AbstractMethodReplacer() 보호된 메소드

Creates a new instance of the ArgumentNullException class.

This is an class, and as such has no publicly visible constructors.

/// If either of the supplied arguments is . ///
protected AbstractMethodReplacer ( 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

GetObject() 보호된 메소드

Helper method for subclasses to lookup an object from an enclosing IoC container.
protected GetObject ( string objectName ) : object
objectName string /// The name of the object that is to be looked up. ///
리턴 object

GetOverride() 보호된 메소드

Helper method for subclasses to retrieve the appropriate Spring.Objects.Factory.Support.MethodOverride for the supplied method.
protected GetOverride ( MethodInfo method ) : Spring.Objects.Factory.Support.MethodOverride
method System.Reflection.MethodInfo /// The to use to retrieve /// the appropriate /// . ///
리턴 Spring.Objects.Factory.Support.MethodOverride

Implement() 공개 추상적인 메소드

Is ; derived classes must supply an implementation.
public abstract 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