Show / Hide Table of Contents

Class Indexer<A, V>

Represents static indexer property.

Inheritance
Object
IndexerBase<A, V>
Indexer<A, V>
Implements
IProperty
IMember<PropertyInfo>
ICustomAttributeProvider
IEquatable<PropertyInfo>
Inherited Members
IndexerBase<A, V>.GetValue(Object, Object[])
IndexerBase<A, V>.SetValue(Object, Object, Object[])
IndexerBase<A, V>.Name
IndexerBase<A, V>.CanRead
IndexerBase<A, V>.CanWrite
IndexerBase<A, V>.GetMethod
IndexerBase<A, V>.Attributes
IndexerBase<A, V>.PropertyType
IndexerBase<A, V>.SetMethod
IndexerBase<A, V>.GetAccessors(Boolean)
IndexerBase<A, V>.GetConstantValue()
IndexerBase<A, V>.GetGetMethod(Boolean)
IndexerBase<A, V>.GetIndexParameters()
IndexerBase<A, V>.GetOptionalCustomModifiers()
IndexerBase<A, V>.GetRawConstantValue()
IndexerBase<A, V>.GetRequiredCustomModifiers()
IndexerBase<A, V>.GetSetMethod(Boolean)
IndexerBase<A, V>.GetValue(Object, BindingFlags, Binder, Object[], CultureInfo)
IndexerBase<A, V>.SetValue(Object, Object, BindingFlags, Binder, Object[], CultureInfo)
IndexerBase<A, V>.DeclaringType
IndexerBase<A, V>.MemberType
IndexerBase<A, V>.ReflectedType
IndexerBase<A, V>.GetCustomAttributes(Boolean)
IndexerBase<A, V>.GetCustomAttributes(Type, Boolean)
IndexerBase<A, V>.IsDefined(Type, Boolean)
IndexerBase<A, V>.MetadataToken
IndexerBase<A, V>.Module
IndexerBase<A, V>.GetCustomAttributesData()
IndexerBase<A, V>.CustomAttributes
IndexerBase<A, V>.IMember<PropertyInfo>.RuntimeMember
IndexerBase<A, V>.Equals(PropertyInfo)
IndexerBase<A, V>.Equals(Object)
IndexerBase<A, V>.GetHashCode()
IndexerBase<A, V>.ToString()
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 Source

GetMethod

Gets indexer property getter.

Declaration
public Method<Indexer<A, V>.Getter> GetMethod { get; }
Property Value
Type Description
Method<Indexer.Getter<>>
| Improve this Doc View Source

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.

| Improve this Doc View Source

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 Source

Implicit(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<>
| Improve this Doc View Source

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

IProperty
IMember<M>
ICustomAttributeProvider
IEquatable<>

Extension Methods

AsyncLockAcquisition.AcquireLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireReadLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireReadLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireWriteLockAsync<T>(T, CancellationToken)
AsyncLockAcquisition.AcquireUpgradeableReadLockAsync<T>(T, TimeSpan)
AsyncLockAcquisition.AcquireUpgradeableReadLockAsync<T>(T, CancellationToken)
ExpressionBuilder.Const<T>(T)
ObjectExtensions.GetUserData<T>(T)
ObjectExtensions.IsOneOf<T>(T, IEnumerable<T>)
ObjectExtensions.IsOneOf<T>(T, T[])
ObjectExtensions.Decompose<T, R1, R2>(T, Func<T, R1>, Func<T, R2>, out R1, out R2)
ObjectExtensions.Decompose<T, R1, R2>(T, ValueFunc<T, R1>, ValueFunc<T, R2>, out R1, out R2)
ObjectExtensions.Decompose<T, R1, R2>(T, Func<T, R1>, Func<T, R2>)
ObjectExtensions.Decompose<T, R1, R2>(T, ValueFunc<T, R1>, ValueFunc<T, R2>)
LockAcquisition.AcquireReadLock<T>(T)
LockAcquisition.AcquireReadLock<T>(T, TimeSpan)
LockAcquisition.AcquireWriteLock<T>(T)
LockAcquisition.AcquireWriteLock<T>(T, TimeSpan)
LockAcquisition.AcquireUpgradeableReadLock<T>(T)
LockAcquisition.AcquireUpgradeableReadLock<T>(T, TimeSpan)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX