Exemple #1
0
        ///--------------------------------------------------------------------------------
        /// <summary>This method determines whether or not any metadata is
        /// different between the input instance and the current instance.</summary>
        ///
        /// <param name="inputView">The view to compare metadata.</param>
        ///--------------------------------------------------------------------------------
        public bool IsIdenticalMetadata(View inputView)
        {
            if (ViewName.GetString() != inputView.ViewName.GetString())
            {
                return(false);
            }
            if (SolutionID.GetGuid() != inputView.SolutionID.GetGuid())
            {
                return(false);
            }
            if (IsAutoUpdated.GetBool() != inputView.IsAutoUpdated.GetBool())
            {
                return(false);
            }
            if (Description.GetString() != inputView.Description.GetString())
            {
                return(false);
            }

            #region protected
            #endregion protected

            return(true);
        }