Beispiel #1
0
        /// <summary>
        /// Returns true if the status is good or uncertain.
        /// </summary>
        /// <remarks>
        /// Returns true if the status is good or uncertain.
        /// </remarks>
        /// <param name="value">The value to check the quality of</param>
        public static bool IsNotUncertain(DataValue value) {
            if (value != null) {
                return StatusCode.IsNotUncertain(value.m_statusCode);
            }

            return false;
        }
Beispiel #2
0
        /// <summary>
        /// Returns true if the status is good or uncertain.
        /// </summary>
        public static bool IsNotUncertain(ServiceResult status)
        {
            if (status != null)
            {
                return(StatusCode.IsNotUncertain(status.m_code));
            }

            return(true);
        }