PostSharp5.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: 5.0.55.0 (5.0.55.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.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also