示例#1
0
        public override int GetHashCode()
        {
            int hashName = ConfigFileExtension == null ? 0 : ConfigFileName.GetHashCode();
            int hashCode = 0;

            if (ConfigFileExtension != null)
            {
                hashCode = ConfigFileExtension.GetHashCode();
            }
            return(hashName ^ hashCode);
        }
示例#2
0
        static void TestDocument(ConfigFileExtension document)
        {
            foreach (SolidEdgeCommunity.Reader.Assembly.Configuration config in document.Configurations)
            {
                string configName = config.Name;
            }

            foreach (Zone zone in document.Zones)
            {
            }
        }
示例#3
0
 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));
 }