PostSharpAPI ReferencePost­Sharp.​Aspects.​AdvicesProperty<TValue, TIndex>
Open sandboxFocus

Property<TValue, TIndex> Class

Mimics the semantics of a property accepting a single index parameter, for use with the ImportMemberAttribute aspect extension.

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

Property value type.

TIndex

Property index type.

Constructors

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

Properties

Name Description
Get

Gets a delegate enabling to invoke the get accessor of the imported property.

Set

Gets a delegate enabling to invoke the set accessor of the imported property.

See Also

Property<TValue>
PropertyGetter<TValue, TIndex>
PropertySetter<TValue, TIndex>