public BoundInput(InputKey key, object value)
     : base(key, InputBindingStatus.Bound)
 {
     this.value = value;
 }
Esempio n. 2
0
 protected BaseInput(InputKey key, InputBindingStatus bindingStatus)
 {
     this.key           = key;
     this.bindingStatus = bindingStatus;
 }
Esempio n. 3
0
 public UnboundInput(InputKey key)
     : base(key, InputBindingStatus.Unbound)
 {
 }
 /// <summary>
 ///   Initializes a new instance of the <see cref = "BoundStaticInput" /> class.
 /// </summary>
 /// <param name = "label">The key</param>
 /// <param name = "definition">The delegate called when it is time to resolve the input.</param>
 public BoundStaticInput(string label, Func <object> definition)
     : base(InputKey.Static(label), InputBindingStatus.Bound)
 {
     this.definition = definition;
 }