Show / Hide Table of Contents

Class Indexer<TIndicies, TValue>

Represents static indexer property.

Inheritance
Object
MemberInfo
PropertyInfo
IndexerBase<TIndicies, TValue>
Indexer<TIndicies, TValue>
Implements
IProperty
IMember<PropertyInfo>
ICustomAttributeProvider
IEquatable<PropertyInfo>
Inherited Members
IndexerBase<TIndicies, TValue>.GetValue(Object, Object[])
IndexerBase<TIndicies, TValue>.SetValue(Object, Object, Object[])
IndexerBase<TIndicies, TValue>.Name
IndexerBase<TIndicies, TValue>.CanRead
IndexerBase<TIndicies, TValue>.CanWrite
IndexerBase<TIndicies, TValue>.GetMethod
IndexerBase<TIndicies, TValue>.Attributes
IndexerBase<TIndicies, TValue>.PropertyType
IndexerBase<TIndicies, TValue>.SetMethod
IndexerBase<TIndicies, TValue>.GetAccessors(Boolean)
IndexerBase<TIndicies, TValue>.GetConstantValue()
IndexerBase<TIndicies, TValue>.GetGetMethod(Boolean)
IndexerBase<TIndicies, TValue>.GetIndexParameters()
IndexerBase<TIndicies, TValue>.GetOptionalCustomModifiers()
IndexerBase<TIndicies, TValue>.GetRawConstantValue()
IndexerBase<TIndicies, TValue>.GetRequiredCustomModifiers()
IndexerBase<TIndicies, TValue>.GetSetMethod(Boolean)
IndexerBase<TIndicies, TValue>.GetValue(Object, BindingFlags, Binder, Object[], CultureInfo)
IndexerBase<TIndicies, TValue>.SetValue(Object, Object, BindingFlags, Binder, Object[], CultureInfo)
IndexerBase<TIndicies, TValue>.DeclaringType
IndexerBase<TIndicies, TValue>.MemberType
IndexerBase<TIndicies, TValue>.ReflectedType
IndexerBase<TIndicies, TValue>.GetCustomAttributes(Boolean)
IndexerBase<TIndicies, TValue>.GetCustomAttributes(Type, Boolean)
IndexerBase<TIndicies, TValue>.IsDefined(Type, Boolean)
IndexerBase<TIndicies, TValue>.MetadataToken
IndexerBase<TIndicies, TValue>.Module
IndexerBase<TIndicies, TValue>.GetCustomAttributesData()
IndexerBase<TIndicies, TValue>.CustomAttributes
IndexerBase<TIndicies, TValue>.IMember<PropertyInfo>.RuntimeMember
IndexerBase<TIndicies, TValue>.Equals(PropertyInfo)
IndexerBase<TIndicies, TValue>.Equals(Object)
IndexerBase<TIndicies, TValue>.GetHashCode()
IndexerBase<TIndicies, TValue>.ToString()
PropertyInfo.Equals(Object)
PropertyInfo.GetAccessors()
PropertyInfo.GetAccessors(Boolean)
PropertyInfo.GetConstantValue()
PropertyInfo.GetGetMethod()
PropertyInfo.GetGetMethod(Boolean)
PropertyInfo.GetHashCode()
PropertyInfo.GetIndexParameters()
PropertyInfo.GetOptionalCustomModifiers()
PropertyInfo.GetRawConstantValue()
PropertyInfo.GetRequiredCustomModifiers()
PropertyInfo.GetSetMethod()
PropertyInfo.GetSetMethod(Boolean)
PropertyInfo.GetValue(Object)
PropertyInfo.GetValue(Object, Object[])
PropertyInfo.GetValue(Object, BindingFlags, Binder, Object[], CultureInfo)
PropertyInfo.SetValue(Object, Object)
PropertyInfo.SetValue(Object, Object, Object[])
PropertyInfo.SetValue(Object, Object, BindingFlags, Binder, Object[], CultureInfo)
PropertyInfo.Attributes
PropertyInfo.CanRead
PropertyInfo.CanWrite
PropertyInfo.IsSpecialName
PropertyInfo.MemberType
PropertyInfo.PropertyType
MemberInfo.GetCustomAttributes(Boolean)
MemberInfo.GetCustomAttributes(Type, Boolean)
MemberInfo.GetCustomAttributesData()
MemberInfo.HasSameMetadataDefinitionAs(MemberInfo)
MemberInfo.IsDefined(Type, Boolean)
MemberInfo.CustomAttributes
MemberInfo.DeclaringType
MemberInfo.MetadataToken
MemberInfo.Module
MemberInfo.Name
MemberInfo.ReflectedType
Object.Equals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: DotNext.Reflection
Assembly: DotNext.Reflection.dll
Syntax
public sealed class Indexer<TIndicies, TValue> : IndexerBase<TIndicies, TValue>, IProperty, IMember<PropertyInfo>, ICustomAttributeProvider, IEquatable<PropertyInfo> where TIndicies : struct
Type Parameters
Name Description
TIndicies

A structure representing parameters of indexer.

TValue

Property value.

Properties

| Improve this Doc View Source

GetMethod

Gets indexer property getter.

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

Item[TIndicies]

Gets or sets instance indexer property value.

Declaration
public TValue this[in TIndicies index] { get; set; }
Parameters
Type Name Description
TIndicies index

Index values for indexed properties.

Property Value
Type Description
TValue

The value of the property.

| Improve this Doc View Source

SetMethod

Gets indexer property setter.

Declaration
public Method<Indexer<TIndicies, TValue>.Setter> SetMethod { get; }
Property Value
Type Description
Method<Indexer.Setter<>>

Operators

| Improve this Doc View Source

Implicit(Indexer<TIndicies, TValue> to Indexer<TIndicies, TValue>.Getter)

Obtains property getter.

Declaration
public static implicit operator Indexer<TIndicies, TValue>.Getter(Indexer<TIndicies, TValue> indexer)
Parameters
Type Name Description
Indexer<TIndicies, TValue> indexer

The reflected property instance.

Returns
Type Description
Indexer.Getter<>
| Improve this Doc View Source

Implicit(Indexer<TIndicies, TValue> to Indexer<TIndicies, TValue>.Setter)

Obtains property setter.

Declaration
public static implicit operator Indexer<TIndicies, TValue>.Setter(Indexer<TIndicies, TValue> indexer)
Parameters
Type Name Description
Indexer<TIndicies, TValue> indexer

The reflected property instance.

Returns
Type Description
Indexer.Setter<>

Implements

IProperty
IMember<TMember>
System.Reflection.ICustomAttributeProvider
System.IEquatable<T>

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)
ObjectExtensions.GetUserData<T>(T)
ObjectExtensions.IsOneOf<T>(T, IEnumerable<T>)
ObjectExtensions.IsOneOf<T>(T, T[])
ObjectExtensions.Decompose<T, TResult1, TResult2>(T, Func<T, TResult1>, Func<T, TResult2>, out TResult1, out TResult2)
ObjectExtensions.Decompose<T, TResult1, TResult2>(T, ValueFunc<T, TResult1>, ValueFunc<T, TResult2>, out TResult1, out TResult2)
ObjectExtensions.Decompose<T, TResult1, TResult2>(T, Func<T, TResult1>, Func<T, TResult2>)
ObjectExtensions.Decompose<T, TResult1, TResult2>(T, ValueFunc<T, TResult1>, ValueFunc<T, TResult2>)
ObjectExtensions.As<T>(T)
CustomAttribute.IsDefined<TAttribute>(ICustomAttributeProvider, Boolean)
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)
ExpressionBuilder.Const<T>(T)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX