Exemplo n.º 1
0
 public ThreadCommand(string commandID,ExecutedThreadEventHandle executed)
 {
     Clear();
     _executed += executed;
     _commandID = commandID;
     _priority = COMMAND_PRIORITY.PRIORITY_NORMAL;
     _state = COMMAND_STATE.STATE_NONE;
 }
Exemplo n.º 2
0
 private void Clear()
 {
     _executed = null;
     _canExecuted = null;
     _complete = null;
     _parameter = null;
     _dispatcher = null;
 }