Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdvisedSupport.CopyConfigurationFrom(AdvisedSupport, ITargetSource, IList, IList) Method

Copies the configuration from the supplied other AdvisedSupport into this instance.

[Visual Basic]
Protected Overridable Overloads Sub CopyConfigurationFrom( _
   ByVal other As AdvisedSupport, _
   ByVal targetSource As ITargetSource, _
   ByVal advisors As IList, _
   ByVal introductions As IList _
)
[C#]
protected virtual void CopyConfigurationFrom(
   AdvisedSupport other,
   ITargetSource targetSource,
   IList advisors,
   IList introductions
);

Parameters

other
The AdvisedSupport instance containing the configiration data that is to be copied into this instance.
targetSource
the new target source
advisors
the advisors for the chain
introductions
the introductions for the chain

Remarks

Useful when this instance has been created using the no-argument constructor, and needs to get all of its confiuration data from another AdvisedSupport (most usually to have an independant copy of said configuration data).

See Also

AdvisedSupport Class | Spring.Aop.Framework Namespace | AdvisedSupport.CopyConfigurationFrom Overload List