示例#1
0
 public override byte[] GetResultByteArray()
 {
     // if no blockref were created, create one from default block
     if (0 == _exporter._blockRefs.Count)
     {
         ExpBlock defblock = _exporter.GetBlockOrCreate("default");
         _exporter.CreateBlockRef(defblock);
     }
     // generate and return file content
     return(_exporter.GetResultByteArray());
 }