Exemple #1
0
        public static SafeAction operator -(SafeAction a, Action b)
        {
            SafeAction res = new SafeAction();

            res.act = a.act - b;
            return(res);
        }
Exemple #2
0
        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;
     }
 }