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

Property<TValue> 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.Value to generate run-time code for any property.

Inheritance
System.Object
Property<TValue>
Implements
IProperty
Namespace: PostSharp.Aspects.Advices
Assembly: Metalama.Migration.dll
Syntax
public sealed class Property<TValue> : Object, IProperty
Type Parameters
Name Description
TValue

Constructors

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

Fields

Name Description
Get
Set

Explicit Interface Implementations

Name Description
IProperty.GetValue()
IProperty.SetValue(Object)