Skip to content

Game.UI.Menu.AutomaticSettings+DropdownItemsAccessor`1

Assembly: Game
Namespace: Game.UI.Menu

Type: class public

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

Code

public class DropdownItemsAccessor<T> : Game.Reflection.ITypedValueAccessor<T>, Game.Reflection.IValueAccessor
{
    private readonly System.Func<T> <del>k__BackingField;

    public System.Type valueType { get; }
    public System.Func<T> del { get; }

    public DropdownItemsAccessor`1(System.Type valueType, System.Reflection.MethodInfo getterMethod, Game.Settings.Setting setting);
    public DropdownItemsAccessor`1(System.Func<T> del);

    public T GetTypedValue();
    public System.Object GetValue();
    public System.Void SetTypedValue(T value);
    public System.Void SetValue(System.Object value);
}

Fields

  • private readonly System.Func<T> <del>k__BackingField
private readonly System.Func<T> <del>k__BackingField;

Properties

  • public System.Type valueType { get }
public System.Type valueType { get; }
  • public System.Func<T> del { get }
public System.Func<T> del { get; }

Constructors

  • public DropdownItemsAccessor1(System.Type valueType, System.Reflection.MethodInfo getterMethod, Game.Settings.Setting setting)`
public DropdownItemsAccessor`1(System.Type valueType, System.Reflection.MethodInfo getterMethod, Game.Settings.Setting setting);
  • public DropdownItemsAccessor1(System.Func del)`
public DropdownItemsAccessor`1(System.Func<T> del);

Methods

  • 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);