MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​Aspects.​AdvicesProperty­Getter<TValue, TIndex>
Open sandboxFocus

PropertyGetter<TValue, TIndex> Class

In PostSharp, this delegate allowed the run-time code of the aspect to access a property in the target code. In Metalama, no run-time helper is required because the template directly generates run-time code. Use IProperty. or IProperty..Value to generate run-time code for any event.

Inheritance
PropertyGetter<TValue, TIndex>
Namespace: PostSharp.Aspects.Advices
Assembly: Metalama.Migration.dll
Syntax
public sealed class PropertyGetter<TValue, TIndex> : MulticastDelegate
Type Parameters
Name Description
TValue
TIndex

Constructors

Name Description
PropertyGetter(Object, IntPtr)

Methods

Name Description
BeginInvoke(TIndex, AsyncCallback, Object)
EndInvoke(IAsyncResult)
Invoke(TIndex)