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

AdviceInfo Methods

The AdviceInfo type exposes the following members.

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