PostSharp6.0/API Reference/Post­Sharp.​Aspects.​Advices Namespace/Property(TValue, TIndex) Class

Property<TValue, TIndex> Class

Mimics the semantics of a property accepting a single index parameter, for use with the ImportMemberAttribute aspect extension.
Inheritance Hierarchy
System.Object
  PostSharp.Aspects.Advices.Property<TValue, TIndex>

Namespace:  PostSharp.Aspects.Advices
Assembly:  PostSharp (in PostSharp.dll) Version: 6.0.35.0 (6.0.35.0)
Syntax
C#
[SerializableAttribute]
public sealed class Property<TValue, TIndex>

Type Parameters

TValue
Property value type.
TIndex
Property index type.

The Property<TValue, TIndex> type exposes the following members.

Properties
  NameDescription
Public propertyGet
Gets a delegate enabling to invoke the get accessor of the imported property.
Public propertySet
Gets a delegate enabling to invoke the set accessor of the imported property.
See Also