示例#1
0
 /* ----------------------------------------------------------------- */
 ///
 /// Invoke
 ///
 /// <summary>
 /// Invokes the user action and sets the result message.
 /// </summary>
 ///
 /* ----------------------------------------------------------------- */
 private void Invoke(Action action, string format, params object[] args) => Bindable.Invoke(() =>
 {
     if (_core == null)
     {
         return;
     }
     action();
     Bindable.SetMessage(format, args);
 });