PostSharp6.4/API Reference/Post­Sharp.​Aspects Namespace/Location­Initialization­Args Class

LocationInitializationArgs Class

Represents information about a location that has just been initialized. Used in OnInstanceLocationInitialized(LocationInitializationArgs).
Inheritance Hierarchy
System.Object
  PostSharp.Aspects.AdviceArgs
    LocationLevelAdviceArgs
      PostSharp.Aspects.LocationInitializationArgs

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 6.4.6.0 (6.4.6.0)
Syntax
C#
public sealed class LocationInitializationArgs : LocationLevelAdviceArgs

The LocationInitializationArgs type exposes the following members.

Properties
  NameDescription
Public propertyDeclarationIdentifier
Gets the DeclarationIdentifier of the declaration to which the advice has been applied.
(Inherited from AdviceArgs.)
Public propertyInstance
Gets or sets the object instance on which the method is being executed.
(Inherited from AdviceArgs.)
Public propertyValue
Gets the initial value of the location.
(Overrides LocationLevelAdviceArgs.Value.)
See Also