DynamicallyAdvisableObject Class |
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: 2023.0.3.0 (2023.0.3.0)
[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. |