public bool Equals(MidasLibrary 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 MidasBlibBuilder(SrmDocument doc, MidasLibrary library, string libName, string blibPath) { _doc = doc; _library = library; _libSpec = new BiblioSpecLiteSpec(libName, blibPath); }
public override Library LoadLibrary(ILoadMonitor loader) { return(MidasLibrary.Load(this, loader)); }
public static MidasLibrary Load(MidasLibSpec spec, ILoadMonitor monitor) { var library = new MidasLibrary(spec); return(library.Load(monitor) ? library : null); }