コード例 #1
0
ファイル: Step_G.cs プロジェクト: jmptrader/modelorientedplus
        ///--------------------------------------------------------------------------------
        /// <summary>This method determines whether or not any metadata is
        /// different between the input instance and the current instance.</summary>
        ///
        /// <param name="inputStep">The step to compare metadata.</param>
        ///--------------------------------------------------------------------------------
        public bool IsIdenticalMetadata(Step inputStep)
        {
            if (StepName.GetString() != inputStep.StepName.GetString())
            {
                return(false);
            }
            if (StageID.GetGuid() != inputStep.StageID.GetGuid())
            {
                return(false);
            }
            if (Order.GetInt() != inputStep.Order.GetInt())
            {
                return(false);
            }
            if (IsAutoUpdated.GetBool() != inputStep.IsAutoUpdated.GetBool())
            {
                return(false);
            }
            if (Description.GetString() != inputStep.Description.GetString())
            {
                return(false);
            }

            #region protected
            #endregion protected

            return(true);
        }