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 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
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