示例#1
0
        public static BiblioSpecLibrary Load(BiblioSpecLibSpec spec, ILoadMonitor loader)
        {
            var library = new BiblioSpecLibrary(spec)
            {
                FilePath = spec.FilePath
            };

            if (library.Load(loader))
            {
                return(library);
            }
            return(null);
        }
示例#2
0
 public override Library LoadLibrary(ILoadMonitor loader)
 {
     return(BiblioSpecLibrary.Load(this, loader));
 }
示例#3
0
 public static BiblioSpecLibrary Load(BiblioSpecLibSpec spec, ILoadMonitor loader)
 {
     var library = new BiblioSpecLibrary(spec) { FilePath = spec.FilePath };
     if (library.Load(loader))
         return library;
     return null;
 }