public override int GetHashCode() { int hashName = ConfigFileExtension == null ? 0 : ConfigFileName.GetHashCode(); int hashCode = 0; if (ConfigFileExtension != null) { hashCode = ConfigFileExtension.GetHashCode(); } return(hashName ^ hashCode); }
static void TestDocument(ConfigFileExtension document) { foreach (SolidEdgeCommunity.Reader.Assembly.Configuration config in document.Configurations) { string configName = config.Name; } foreach (Zone zone in document.Zones) { } }
public bool Equals(ProjectConfigMaster other) { if (ReferenceEquals(other, null)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(ConfigFileExtension.Equals(other.ConfigFileExtension) && ConfigFileName.Equals(other.ConfigFileName)); }