Esempio n. 1
0
        ///--------------------------------------------------------------------------------
        /// <summary>This method determines whether the input instance metadata is
        /// effectively empty.</summary>
        ///
        /// <param name="inputDebugItem">The debugitem to compare metadata.</param>
        ///--------------------------------------------------------------------------------
        public bool IsEmptyMetadata(DebugItem inputDebugItem)
        {
            if (inputDebugItem == null)
            {
                return(true);
            }
            if (inputDebugItem.TagList.Count > 0)
            {
                return(false);
            }
            if (!String.IsNullOrEmpty(inputDebugItem.DebugExpression))
            {
                return(false);
            }
            if (!String.IsNullOrEmpty(inputDebugItem.DebugValue))
            {
                return(false);
            }

            #region protected
            #endregion protected

            return(true);
        }