public CatalogueExporter(ExportType Type) { Parser = CatalogueParser.GetInstance(); Preferences = new CataloguePreferencesParser(); Transformer = new XslCompiledTransform(); this.Type = Type; }
public static CatalogueParser GetInstance() { if (instance == null) { instance = new CatalogueParser(); } return(instance); }
public static void Main(string[] args) { Application.Init(); CatalogueWindow win = new CatalogueWindow(); if (args.Length > 0) { win.LoadFile(args[0]); } // Init CatalogueParser CatalogueParser.GetInstance(); win.Show(); Application.Run(); }
public void Reset() { instance = null; }