Class Indexer<A, V>
Represents static indexer property.
Inherited Members
Namespace: DotNext.Reflection
Assembly: DotNext.Reflection.dll
Syntax
public sealed class Indexer<A, V> : IndexerBase<A, V>, IProperty, IMember<PropertyInfo>, ICustomAttributeProvider, IEquatable<PropertyInfo> where A : struct
  Type Parameters
| Name | Description | 
|---|---|
| A | A structure representing parameters of indexer.  | 
      
| V | Property value.  | 
      
Properties
| Improve this Doc View SourceGetMethod
Gets indexer property getter.
Declaration
public Method<Indexer<A, V>.Getter> GetMethod { get; }
  Property Value
| Type | Description | 
|---|---|
| Method<Indexer.Getter<>> | 
Item[A]
Gets or sets instance indexer property value.
Declaration
public V this[in A index] { get; set; }
  Parameters
| Type | Name | Description | 
|---|---|---|
| A | index | Index values for indexed properties.  | 
      
Property Value
| Type | Description | 
|---|---|
| V | The value of the property.  | 
      
SetMethod
Gets indexer property setter.
Declaration
public Method<Indexer<A, V>.Setter> SetMethod { get; }
  Property Value
| Type | Description | 
|---|---|
| Method<Indexer.Setter<>> | 
Operators
| Improve this Doc View SourceImplicit(Indexer<A, V> to Indexer<A, V>.Getter)
Obtains property getter.
Declaration
public static implicit operator Indexer<A, V>.Getter(Indexer<A, V> indexer)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Indexer<A, V> | indexer | The reflected property instance.  | 
      
Returns
| Type | Description | 
|---|---|
| Indexer.Getter<> | 
Implicit(Indexer<A, V> to Indexer<A, V>.Setter)
Obtains property setter.
Declaration
public static implicit operator Indexer<A, V>.Setter(Indexer<A, V> indexer)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Indexer<A, V> | indexer | The reflected property instance.  | 
      
Returns
| Type | Description | 
|---|---|
| Indexer.Setter<> | 
Implements
      ICustomAttributeProvider
  
  
      IEquatable<>