public override void Handle(Context context) { context.State = new StateA(); }
private void btnState_Click(object sender, EventArgs e) { Context test = new Context(new StateA()); test.Request(); test.Request(); test.Request(); }
public abstract void Handle(Context context);