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
Показать файл Открыть проект

Открытые методы

Метод Описание
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