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

Property<TValue, TIndex> Class

In PostSharp, this class 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
Property<TValue, TIndex>
Namespace: PostSharp.Aspects.Advices
Assembly: Metalama.Migration.dll
Syntax
public sealed class Property<TValue, TIndex> : Object
Type Parameters
Name Description
TValue
TIndex

Constructors

Name Description
Property(PropertyGetter<TValue, TIndex>, PropertySetter<TValue, TIndex>)

Fields

Name Description
Get
Set