public void Execute() { if (_runner.TryAddCommand(_command)) { var ctx = new RewardWindow.Context("Daily Reward!", "Claim", null); _rewardWindow.Create(ctx); } }
public void Execute() { _runner.TryAddCommand(new AddPersistentTimeOffsetCommand(TimeSpan.FromHours(Hours))); }
void Execute() { _runner.TryAddCommand(_command); }