Пример #1
0
        /// <summary>If the CAACK is in its constructor default value then this method sets it to the given value.  In either case the method returns the target object to support call chaining.</summary>
        public CarrierActionResult SetFirstCAACK(CAACK caack)
        {
            if (CAACK == CAACK.Undefinded)
            {
                CAACK = caack;
            }

            return(this);
        }
Пример #2
0
        /// <summary>If the CAACK is in its constructor default value then this method sets it to the given value.  In either case the method returns the target object to support call chaining.</summary>
        public CarrierActionResult SetFirstCAACK(CAACK caack)
        {
            if (CAACK == CAACK.Undefinded)
                CAACK = caack;

            return this;
        }
Пример #3
0
 /// <summary>
 /// Returns true if the given caack value is ether CAACK.AcknowledgedCommandHasBeenPerformed or CAACK.AcknowledgedCompletionWillBeSignaledByLaterEvent.
 /// </summary>
 public static bool IsSuccess(this CAACK caack)
 {
     return(caack == CAACK.AcknowledgedCommandHasBeenPerformed || caack == CAACK.AcknowledgedCompletionWillBeSignaledByLaterEvent);
 }