Example #1
0
        public void AddImport(RegistryImport import)
        {
            if (HasImported(import.Registry))
            {
                return;
            }

            _imports.Add(import);
        }
Example #2
0
        public void AddImport(RegistryImport import)
        {
            if (HasImported(import.Registry))
            {
                return;
            }

            import.Provenance = CurrentProvenance;
            _imports.Add(import);
        }
Example #3
0
 public bool Equals(RegistryImport other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other.Prefix, Prefix) && Equals(other.Registry.GetType(), Registry.GetType()));
 }