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

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

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