/// <summary> /// Creates the command proxy. /// </summary> /// <param name="command">The command that actually executes</param> public ObservableCommandProxy(ObservableCommand command) { this.command = command; this.command.RegisterProxy(this, this.OnCommandsCanExecuteChanged); }