DynamicallyAdvisableObject Class |
Base class for objects into which advices can be dynamically injected.

System.Object
PostSharp.Patterns.DynamicAdvising.DynamicallyAdvisableObject
PostSharp.Patterns.Collections.AdvisableCollection<T>
PostSharp.Patterns.Collections.AdvisableDictionary<TKey, TValue>
PostSharp.Patterns.Collections.AdvisableHashSet<T>
PostSharp.Patterns.DynamicAdvising.DynamicallyAdvisableObject
PostSharp.Patterns.Collections.AdvisableCollection<T>
PostSharp.Patterns.Collections.AdvisableDictionary<TKey, TValue>
PostSharp.Patterns.Collections.AdvisableHashSet<T>
Namespace: PostSharp.Patterns.DynamicAdvising
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.4.3.0 (6.4.3.0)

C#
[SerializableAttribute] public abstract class DynamicallyAdvisableObject : IDynamicallyAdvisable, IQueryInterface, ISerializable, IDeserializationCallback
The DynamicallyAdvisableObject type exposes the following members.

Name | Description | |
---|---|---|
![]() | ExecuteWithAdvices<TResult, TAction> |
Executes an action wrapped by all custom advices added to the current object.
|
![]() | GetAdviceEnumerator<T> |
Gets an AdviceEnumerator<T> for all advices implementing a given interface on the current object.
|
![]() | GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. |
![]() | InitializeAdvices |
Initializes the list of dynamic advices.
|
![]() | OnDeserialization | Runs when the entire object graph has been deserialized. |
