PostSharp SDK 6.7 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Advice­Info Class

AdviceInfo Class

[Missing <summary> documentation for "T:PostSharp.Sdk.AspectWeaver.AdviceInfo"]

Inheritance Hierarchy
System.Object
  PostSharp.Sdk.AspectWeaver.AdviceInfo

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.7.10.0 (6.7.10.0)
Syntax
C#
public sealed class AdviceInfo

The AdviceInfo type exposes the following members.

Constructors
  NameDescription
Public methodAdviceInfo
Initializes a new instance of the AdviceInfo class
Properties
  NameDescription
Public propertyAdviceInstance
Public propertyAdviceType
Public propertyAnnotation
Public propertyGenericContext
Public propertyHasParameter
Returns true if there is at least one slim-advice-style parameter, and thus the GetParameters() method will not return null.
Public propertyTargetElement
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetFirstParameter
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetParameter
Public methodGetParameters()
Returns slim-advice-style parameters for this advice. The returned array may contain a number of null values (don't know why). These values should be ignored.

Returns null if there are no such parameters.

Public methodGetParameters(Type)
Public methodGetParameterTypes
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also