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

            _imports.Add(import);
        }
Esempio n. 2
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()));
 }
Esempio n. 3
0
        public void AddImport(RegistryImport import)
        {
            if (HasImported(import.Registry)) return;

            _imports.Add(import);
        }
Esempio n. 4
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());
 }