internal static IsSupertypeFromFile GetInstance(Hla hla, string filePrefix, Assembly assembly, string resourcePrefix)
        {
            IsSupertypeFromFile isSupertypeFromFile = new IsSupertypeFromFile();

            isSupertypeFromFile.FilePrefix     = filePrefix;
            isSupertypeFromFile.Supertype      = LookupSupertypeFromFile(hla.ToString(), filePrefix, assembly, resourcePrefix);
            isSupertypeFromFile.Assembly       = assembly;
            isSupertypeFromFile.ResourcePrefix = resourcePrefix;
            return(isSupertypeFromFile);
        }
        public override bool Equals(object obj)
        {
            IsSupertypeFromFile other = obj as IsSupertypeFromFile;

            if (null == other)
            {
                return(false);
            }
            else
            {
                return(Supertype.Equals(other.Supertype) && FilePrefix.Equals(other.FilePrefix));
            }
        }