///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputPropertyBase">The propertybase to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(PropertyBase inputPropertyBase) { if (SolutionID.GetGuid() != inputPropertyBase.SolutionID.GetGuid()) { return(false); } if (IsNullable.GetBool() != inputPropertyBase.IsNullable.GetBool()) { return(false); } if (Order.GetInt() != inputPropertyBase.Order.GetInt()) { return(false); } if (IsAutoUpdated.GetBool() != inputPropertyBase.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputPropertyBase.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }
///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputSpecificationSource">The specificationsource to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(SpecificationSource inputSpecificationSource) { if (SolutionID.GetGuid() != inputSpecificationSource.SolutionID.GetGuid()) { return(false); } if (TemplatePath.GetString() != inputSpecificationSource.TemplatePath.GetString()) { return(false); } if (Order.GetInt() != inputSpecificationSource.Order.GetInt()) { return(false); } if (IsAutoUpdated.GetBool() != inputSpecificationSource.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputSpecificationSource.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }
///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputProjectReference">The projectreference to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(ProjectReference inputProjectReference) { if (SolutionID.GetGuid() != inputProjectReference.SolutionID.GetGuid()) { return(false); } #region protected #endregion protected return(true); }
///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputModel">The model to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(Model inputModel) { if (ModelName.GetString() != inputModel.ModelName.GetString()) { return(false); } if (SolutionID.GetGuid() != inputModel.SolutionID.GetGuid()) { return(false); } if (IsAutoUpdated.GetBool() != inputModel.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputModel.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }
///-------------------------------------------------------------------------------- /// <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); }
///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputDiagram">The diagram to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(Diagram inputDiagram) { if (DiagramName.GetString() != inputDiagram.DiagramName.GetString()) { return(false); } if (SolutionID.GetGuid() != inputDiagram.SolutionID.GetGuid()) { return(false); } if (IsAutoUpdated.GetBool() != inputDiagram.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputDiagram.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }
///-------------------------------------------------------------------------------- /// <summary>This method determines whether or not any metadata is /// different between the input instance and the current instance.</summary> /// /// <param name="inputFeature">The feature to compare metadata.</param> ///-------------------------------------------------------------------------------- public bool IsIdenticalMetadata(Feature inputFeature) { if (FeatureName.GetString() != inputFeature.FeatureName.GetString()) { return(false); } if (SolutionID.GetGuid() != inputFeature.SolutionID.GetGuid()) { return(false); } if (IsAutoUpdated.GetBool() != inputFeature.IsAutoUpdated.GetBool()) { return(false); } if (Description.GetString() != inputFeature.Description.GetString()) { return(false); } #region protected #endregion protected return(true); }