예제 #1
0
 public MetadataFile VisitMetadataFile(MetadataFile_v2 sMetadata)
 {
     var typeLib = loader.LoadMetadata(sMetadata.Filename);
     TypeLibraryLoaded.Fire(this, new TypeLibraryEventArgs(typeLib));
     return new MetadataFile
     {
         Filename = sMetadata.Filename,
         ModuleName = typeLib.ModuleName,
         TypeLibrary = typeLib
     };
 }
예제 #2
0
 public MetadataFile VisitMetadataFile(MetadataFile_v2 sMetadata)
 {
     string filename = sMetadata.Filename;
     return LoadMetadataFile(filename);
 }