public void Cancel() { if (CanCancel()) { _orderState.Cancel(this); } }
private void expiracyTimer_Expired(object sender, EventArgs e) { if (state == null) { return; } state.Cancel(); expiracyTimer.Expired -= expiracyTimer_Expired; }
public void Cancel() { _orderState.Cancel(this); }