///-------------------------------------------------------------------------------- /// <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); }