Ejemplo n.º 1
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         ExportStyleManager.DisposeInstance(fileName, stream);
     }
 }
Ejemplo n.º 2
0
        private static ExportStyleManager GetStreamInstance(Stream stream)
        {
            ExportStyleManager result = (ExportStyleManager)instances2[stream];

            if (result == null)
            {
                result = new ExportStyleManager("", stream);
                instances2.Add(stream, result);
            }
            return(result);
        }
Ejemplo n.º 3
0
        private static ExportStyleManager GetFileInstance(string fileName)
        {
            ExportStyleManager result = (ExportStyleManager)instances[fileName];

            if (result == null)
            {
                result = new ExportStyleManager(fileName, null);
                instances.Add(fileName, result);
            }
            return(result);
        }
Ejemplo n.º 4
0
 public ExportDefaultProvider(Stream stream) : base(stream)
 {
     styleManager = ExportStyleManager.GetInstance("", stream);
 }
Ejemplo n.º 5
0
 public ExportDefaultProvider(string fileName) : base(fileName)
 {
     styleManager = ExportStyleManager.GetInstance(fileName, null);
 }