Skip to content

Game.Reflection.NativeArrayElementAccessor`1

Assembly: Game
Namespace: Game.Reflection

Type: class public

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

Code

public class NativeArrayElementAccessor<T> : Game.Reflection.ITypedValueAccessor<T>, Game.Reflection.IValueAccessor, System.IEquatable<Game.Reflection.NativeArrayElementAccessor<T>>
{
    private readonly Game.Reflection.ITypedValueAccessor<Unity.Collections.NativeArray<T>> m_Parent;
    private readonly System.Int32 m_Index;

    public System.Type valueType { get; }

    public NativeArrayElementAccessor`1(Game.Reflection.ITypedValueAccessor<Unity.Collections.NativeArray<T>> parent, System.Int32 index);

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

Fields

  • private readonly Game.Reflection.ITypedValueAccessor<Unity.Collections.NativeArray<T>> m_Parent
private readonly Game.Reflection.ITypedValueAccessor<Unity.Collections.NativeArray<T>> m_Parent;
  • 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 NativeArrayElementAccessor1(Game.Reflection.ITypedValueAccessor> parent, System.Int32 index)`
public NativeArrayElementAccessor`1(Game.Reflection.ITypedValueAccessor<Unity.Collections.NativeArray<T>> parent, System.Int32 index);

Methods

  • public Equals(Game.Reflection.NativeArrayElementAccessor<T> other) : System.Boolean
public System.Boolean Equals(Game.Reflection.NativeArrayElementAccessor<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 GetTypedValue() : T
public T GetTypedValue();
  • public GetValue() : System.Object
public System.Object GetValue();
  • public SetTypedValue(T value) : System.Void
public System.Void SetTypedValue(T value);
  • public SetValue(System.Object value) : System.Void
public System.Void SetValue(System.Object value);