MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​AspectsLocation­Initialization­Args
Open sandboxFocus

LocationInitializationArgs Class

In PostSharp, this object exposed the run-time execution context to the advice. However, in Metalama, advice do not execute at run time. Instead, advice are templates that generate run-time code. This run-time code does not need helper objects to represent the execution context.

Inheritance
LocationInitializationArgs
Namespace: PostSharp.Aspects
Assembly: Metalama.Migration.dll
Syntax
public sealed class LocationInitializationArgs : LocationLevelAdviceArgs

Properties

Name Description
Value

In Metalama, use the value template parameter.