MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​Aspects.​AdvicesArgument­Attribute
Open sandboxFocus

ArgumentAttribute Class

In Metalama, run-time advice parameters are matched by name, not by index. If you need to get a parameter by index, use meta.Target.Parameters[index].Value. from the template.

Inheritance
System.Object
ArgumentAttribute
Namespace: PostSharp.Aspects.Advices
Assembly: Metalama.Migration.dll
Syntax
public sealed class ArgumentAttribute : AdviceParameterAttribute

Constructors

Name Description
ArgumentAttribute(Int32)

Properties

Name Description
Index

See Also