Exemple #1
0
 public static EncyclopeDiaLibrary Load(EncyclopeDiaSpec spec, ILoadMonitor loader)
 {
     if (File.Exists(spec.FilePath) && new FileInfo(spec.FilePath).Length > 0)
     {
         var library = new EncyclopeDiaLibrary(spec, loader.StreamManager);
         if (library.Load(loader))
         {
             return(library);
         }
     }
     return(null);
 }
Exemple #2
0
 public override Library LoadLibrary(ILoadMonitor loader)
 {
     return(EncyclopeDiaLibrary.Load(this, loader));
 }