public bool Equals(BiblioSpecLibrary obj) { if (ReferenceEquals(null, obj)) { return(false); } if (ReferenceEquals(this, obj)) { return(true); } return(base.Equals(obj) && obj.Revision == Revision && Equals(obj.FilePath, FilePath)); }
public static BiblioSpecLibrary Load(BiblioSpecLibSpec spec, ILoadMonitor loader) { var library = new BiblioSpecLibrary(spec) { FilePath = spec.FilePath }; if (library.Load(loader)) { return(library); } return(null); }
public override Library LoadLibrary(ILoadMonitor loader) { return(BiblioSpecLibrary.Load(this, loader)); }
public bool Equals(BiblioSpecLibrary obj) { if (ReferenceEquals(null, obj)) return false; if (ReferenceEquals(this, obj)) return true; return base.Equals(obj) && obj.Revision == Revision && Equals(obj.FilePath, FilePath); }
public static BiblioSpecLibrary Load(BiblioSpecLibSpec spec, ILoadMonitor loader) { var library = new BiblioSpecLibrary(spec) { FilePath = spec.FilePath }; if (library.Load(loader)) return library; return null; }