Skip to content

Game.Reflection.ObjectAccessor`1

Assembly: Game
Namespace: Game.Reflection

Type: class public

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

Code

public class ObjectAccessor<T> : Game.Reflection.ITypedValueAccessor<T>, Game.Reflection.IValueAccessor, System.IEquatable<Game.Reflection.ObjectAccessor<T>>
{
    protected T m_Object;
    private System.Boolean m_ReadOnly;

    public System.Type valueType { get; }

    public ObjectAccessor`1(T obj, System.Boolean readOnly);

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

Fields

  • protected T m_Object
protected T m_Object;
  • private System.Boolean m_ReadOnly
private System.Boolean m_ReadOnly;

Properties

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

Constructors

  • public ObjectAccessor1(T obj, System.Boolean readOnly = True)`
public ObjectAccessor`1(T obj, System.Boolean readOnly);

Methods

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