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