public override void ProcessInput(object input, out PaintDotNet.Updates.State newState) { if (!input.Equals(UpdatesAction.Continue)) { throw new ArgumentException(); } newState = new CheckingState(); }
public override void ProcessInput(object input, out State newState) { if (input.Equals(UpdatesAction.Continue)) { newState = new CheckingState(); } else { throw new ArgumentException(); } }
public override void ProcessInput(object input, out State newState) { if (input.Equals(UpdatesAction.Continue)) { newState = new CheckingState(); } else { throw new ArgumentException(); } }