PostSharp6.4/API Reference/Post­Sharp.​Patterns.​Dynamic­Advising Namespace/Dynamically­Advisable­Object Class

DynamicallyAdvisableObject Class

Base class for objects into which advices can be dynamically injected.
Inheritance Hierarchy

Namespace:  PostSharp.Patterns.DynamicAdvising
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.4.3.0 (6.4.3.0)
Syntax
C#
[SerializableAttribute]
public abstract class DynamicallyAdvisableObject : IDynamicallyAdvisable, 
	IQueryInterface, ISerializable, IDeserializationCallback

The DynamicallyAdvisableObject type exposes the following members.

Methods
  NameDescription
Protected methodExecuteWithAdvices<TResult, TAction>
Executes an action wrapped by all custom advices added to the current object.
Public methodGetAdviceEnumerator<T>
Gets an AdviceEnumerator<T> for all advices implementing a given interface on the current object.
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
Protected methodInitializeAdvices
Initializes the list of dynamic advices.
Public methodOnDeserialization
Runs when the entire object graph has been deserialized.
See Also