public static SafeAction operator -(SafeAction a, Action b) { SafeAction res = new SafeAction(); res.act = a.act - b; return(res); }
public static SafeAction operator +(SafeAction a, Action b) { a.act -= b; SafeAction res = new SafeAction(); res.act = a.act + b; return(res); }
public void EnableRetry(bool val_) { if (val_) { this.OnRetryConnect += UpdateRetry; } else { this.OnRetryConnect -= UpdateRetry; } }