AdviceInfo Class |
[Missing <summary> documentation for "T:PostSharp.Sdk.AspectWeaver.AdviceInfo"]
Namespace: PostSharp.Sdk.AspectWeaver
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public sealed class AdviceInfo
The AdviceInfo type exposes the following members.
Name | Description | |
---|---|---|
AdviceInfo | Initializes a new instance of the AdviceInfo class |
Name | Description | |
---|---|---|
AdviceInstance | ||
AdviceType | ||
Annotation | ||
GenericContext | ||
HasParameter |
Returns true if there is at least one slim-advice-style parameter, and thus the GetParameters() method will not return null.
| |
TargetElement |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetFirstParameter | ||
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetParameter | ||
GetParameters() |
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. | |
GetParameters(Type) | ||
GetParameterTypes | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |