Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdvisedSupport.ReplaceIntroduction Method

Replaces the IIntroductionAdvisor that exists at the supplied index in the list of Introductions with the supplied introduction.

[Visual Basic]
Public Overridable Sub ReplaceIntroduction( _
   ByVal index As Integer, _
   ByVal introduction As IIntroductionAdvisor _
) _
    Implements IAdvised.ReplaceIntroduction
[C#]
public virtual void ReplaceIntroduction(
   int index,
   IIntroductionAdvisor introduction
);

Parameters

index
The index of the IIntroductionAdvisor in the list of Introductions that is to be replaced.
introduction
The new (replacement) IIntroductionAdvisor.

Implements

IAdvised.ReplaceIntroduction

Exceptions

Exception Type Condition
AopConfigException If the supplied index is out of range.

See Also

AdvisedSupport Class | Spring.Aop.Framework Namespace