public void AddImport(RegistryImport import) { if (HasImported(import.Registry)) { return; } _imports.Add(import); }
public void AddImport(RegistryImport import) { if (HasImported(import.Registry)) { return; } import.Provenance = CurrentProvenance; _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 bool Equals(RegistryImport other) { if (Type == null) { return(false); } if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(other.Prefix, Prefix) && Equals(other.Type, Type)); }