コード例 #1
0
 /// <summary>Get a key input value</summary>
 /// <param name="value">The input value, if any; Otherwise, the type's default value.</param>
 /// <returns>True if the input has a value; otherwise, false.</returns>
 protected override bool TryGetInputValue(IInputSource source, out bool value)
 {
     return(source.TryGetKeyInput(this.InputName, out value));
 }