static void Main(string[] args) { ILoggerRepository repository = LogManager.GetRepository(Assembly.GetEntryAssembly()); XmlConfigurator.Configure(repository, new FileInfo("log4net.config")); var generator = DocGeneratorFactory.Get(); var data = File.ReadAllText("test.json"); var output = generator.ConvertJsonToPdf(data); Console.WriteLine(output); }
public SwGeneratorController() { _storage = DocumentStorageFactory.Get(); _generator = DocGeneratorFactory.Get(); }