ResourceWriter(ModuleDef module, Stream stream, ResourceElementSet resources)
 {
     this.module    = module;
     typeCreator    = new ResourceDataFactory(module);
     writer         = new BinaryWriter(stream);
     this.resources = resources;
 }
Esempio n. 2
0
 ResourceReader(ModuleDef module, ref DataReader reader, CreateResourceDataDelegate createResourceDataDelegate)
 {
     this.reader                     = reader;
     resourceDataFactory             = new ResourceDataFactory(module);
     this.createResourceDataDelegate = createResourceDataDelegate;
     baseFileOffset                  = reader.StartOffset;
 }