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 an indexer in the target code. In Metalama, no run-time helper is required because the template directly generates run-time code. Use IIndexer.GetValue(Object[]) and IIndexer.SetValue(Object, Object[]) to generate run-time code for any indexer.

Inheritance
System.Object
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)