Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.PostSharp Namespace / GTimer Class / GetAspectConfiguration Method
Code element (System.Reflection.Assembly, System.Type, System.Reflection.FieldInfo, System.Reflection.MethodBase, System.Reflection.PropertyInfo, System.Reflection.EventInfo, System.Reflection.ParameterInfo, or PostSharp.Reflection.LocationInfo) to which the current PostSharp.Aspects.Aspect has been applied.

In This Topic
    GetAspectConfiguration Method (GTimer)
    In This Topic
    Method invoked at build tome to get the imperative configuration of the current PostSharp.Aspects.Aspect.
    Syntax
    'Declaration
     
    
    Public Function GetAspectConfiguration( _
       ByVal targetElement As Object _
    ) As PostSharp.Aspects.Configuration.AspectConfiguration
    public PostSharp.Aspects.Configuration.AspectConfiguration GetAspectConfiguration( 
       object targetElement
    )

    Parameters

    targetElement
    Code element (System.Reflection.Assembly, System.Type, System.Reflection.FieldInfo, System.Reflection.MethodBase, System.Reflection.PropertyInfo, System.Reflection.EventInfo, System.Reflection.ParameterInfo, or PostSharp.Reflection.LocationInfo) to which the current PostSharp.Aspects.Aspect has been applied.

    Return Value

    An PostSharp.Aspects.Configuration.AspectConfiguration representing the imperative configuration of the current PostSharp.Aspects.Aspect.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also