Beispiel #1
0
        public CommandJavascriptUiContextUpdater(IJsUpdateHelper jsUpdateHelper, object command)
        {
            _Command        = command;
            _JsUpdateHelper = jsUpdateHelper;

            if (_Command == null)
            {
                return;
            }

            _JsCommandBase = _JsUpdateHelper.GetCached <JsCommandBase>(_Command);
            _UpdateCount   = _JsCommandBase?.NextUpdateCount ?? 0;
        }
Beispiel #2
0
 public CommandJsContextUpdater(JsCommandBase jsCommandBase)
 {
     _JsCommandBase = jsCommandBase;
 }
Beispiel #3
0
 public void OnCommand(JsCommandBase command)
 {
     _OnCommand(command);
 }