Skip to content

Game.Reflection.ListElementAccessor`1

Assembly: Game
Namespace: Game.Reflection

Type: class public

Base: System.Object
Implements: Game.Reflection.IValueAccessor, System.IEquatable<Game.Reflection.ListElementAccessor<T>>

Code

public class ListElementAccessor<T> : Game.Reflection.IValueAccessor, System.IEquatable<Game.Reflection.ListElementAccessor<T>>
{
    private readonly Game.Reflection.ITypedValueAccessor<T> m_Parent;
    private readonly System.Type m_ElementType;
    private readonly System.Int32 m_Index;

    public System.Type valueType { get; }

    public ListElementAccessor`1(Game.Reflection.ITypedValueAccessor<T> parent, System.Type elementType, System.Int32 index);

    public System.Boolean Equals(Game.Reflection.ListElementAccessor<T> other);
    public virtual System.Boolean Equals(System.Object obj);
    public virtual System.Int32 GetHashCode();
    public System.Object GetValue();
    public System.Void SetValue(System.Object value);
}

Fields

  • private readonly Game.Reflection.ITypedValueAccessor<T> m_Parent
private readonly Game.Reflection.ITypedValueAccessor<T> m_Parent;
  • private readonly System.Type m_ElementType
private readonly System.Type m_ElementType;
  • private readonly System.Int32 m_Index
private readonly System.Int32 m_Index;

Properties

  • public System.Type valueType { get }
public System.Type valueType { get; }

Constructors

  • public ListElementAccessor1(Game.Reflection.ITypedValueAccessor parent, System.Type elementType, System.Int32 index)`
public ListElementAccessor`1(Game.Reflection.ITypedValueAccessor<T> parent, System.Type elementType, System.Int32 index);

Methods

  • public Equals(Game.Reflection.ListElementAccessor<T> other) : System.Boolean
public System.Boolean Equals(Game.Reflection.ListElementAccessor<T> other);
  • public virtual Equals(System.Object obj) : System.Boolean
public virtual System.Boolean Equals(System.Object obj);
  • public virtual GetHashCode() : System.Int32
public virtual System.Int32 GetHashCode();
  • public GetValue() : System.Object
public System.Object GetValue();
  • public SetValue(System.Object value) : System.Void
public System.Void SetValue(System.Object value);