예제 #1
0
 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));
 }
예제 #2
0
 public MidasBlibBuilder(SrmDocument doc, MidasLibrary library, string libName, string blibPath)
 {
     _doc     = doc;
     _library = library;
     _libSpec = new BiblioSpecLiteSpec(libName, blibPath);
 }
예제 #3
0
 public override Library LoadLibrary(ILoadMonitor loader)
 {
     return(MidasLibrary.Load(this, loader));
 }
예제 #4
0
        public static MidasLibrary Load(MidasLibSpec spec, ILoadMonitor monitor)
        {
            var library = new MidasLibrary(spec);

            return(library.Load(monitor) ? library : null);
        }