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
Показать файл Открыть проект Примеры использования класса

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

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