Пример #1
0
 public void G002()
 {
     using (var stream = new MemoryStream())
     {
         var gc = new GeneratedClass002();
         gc.CreatePackage(stream);
     }
 }
Пример #2
0
        public void G002()
        {
            var fileInfo         = new FileInfo(Path.Combine(TestUtil.TestResultsDirectory, Guid.NewGuid().ToString() + ".xlsx"));
            GeneratedClass002 gc = new GeneratedClass002();

            gc.CreatePackage(fileInfo.FullName);
            if (TestUtil.DeleteTempFiles)
            {
                fileInfo.Delete();
            }
        }