Ejemplo n.º 1
0
        /// <summary>
        ///     Extracts the specified value.
        /// </summary>
        /// <param name="value">The value.</param>
        public override void Extract(MenuItem value)
        {
            var keybind = (MenuKeyBind)value;

            if (this.original == keybind.original)
            {
                this.Key = keybind.Key;
            }
        }
Ejemplo n.º 2
0
 /// <summary>
 ///     Extracts the specified value.
 /// </summary>
 /// <param name="value">The value.</param>
 public override void Extract(MenuItem value)
 {
     var keybind = (MenuKeyBind)value;
     if (this.original == keybind.original)
     {
         this.Key = keybind.Key;
     }
 }