Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdvisedSupport Methods

The methods of the AdvisedSupport class are listed below. For a complete list of AdvisedSupport class members, see the AdvisedSupport Members topic.

Protected Static (Shared) Methods

GetInterfaces Gets all of the interfaces implemented by the Type of the supplied target.

Public Instance Methods

AddAdviceOverloaded. Adds the supplied advice to the end (or tail) of the advice (interceptor) chain.
AddAdvisorOverloaded. Adds the supplied advisor to the list of Advisors.
AddAdvisors Adds the advisors from the supplied advisors to the list of Advisors.
AddInterface Adds a new interface to the list of interfaces that are proxied by this proxy.
AddIntroductionOverloaded. Adds the supplied introductionAdvisor to the list of Introductions.
AddListener Registers the supplied listener as a listener for AdvisedSupport notifications.
AdviceIncluded Is the supplied advice included in any advisor?
CopyFrom (inherited from ProxyConfig) Copies the configuration from the supplied otherConfiguration into this instance.
CountAdviceOfType Returns a count of all of the IAdvice type-compatible with the supplied Type.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
IndexOfOverloaded. Return the index (0 based) of the supplied IAdvisor in the interceptor (advice) chain for this proxy.
IsInterfaceProxied Is the supplied intf (interface) Type proxied?
RemoveAdvice Removes the supplied advice from the list of Advisors.
RemoveAdvisorOverloaded. Removes the supplied advisor the list of advisors for this proxy.
RemoveInterface Removes the supplied (proxied) intf.
RemoveIntroductionOverloaded. Removes the supplied introduction from the list of Introductions.
RemoveListener Removes the supplied listener.
ReplaceAdvisor Replaces the oldAdvisor with the newAdvisor.
ReplaceIntroduction Replaces the IIntroductionAdvisor that exists at the supplied index in the list of Introductions with the supplied introduction.
ToProxyConfigString As ToString will normally be passed straight through to the advised target, this method returns the ToString equivalent for the AOP proxy itself.
ToString A String that represents the current ProxyConfig configuration.

Protected Instance Methods

Activate Activates this instance.
AddInterfaceInternal Adds a new interface to the list of interfaces that are proxied by this proxy.
AdviceChanged Callback method that is invoked when the interceptor list has changed.
CopyConfigurationFromOverloaded. Copies the configuration from the supplied other AdvisedSupport into this instance.
CreateAopProxy Creates an AOP proxy using this instance's configuration data.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
InterfacesChanged Callback method that is invoked when the list of proxied interfaces has changed.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
SetInterfacesInternal Set interfaces to be proxied, bypassing locking and IsFrozen
ToProxyConfigStringInternal Returns textual information about this configuration object

See Also

AdvisedSupport Class | Spring.Aop.Framework Namespace | IAopProxy