Esempio n. 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="cache"></param>
 /// <param name="localizer"></param>
 /// <param name="loggingFacade"></param>
 /// <param name="xmlApi"></param>
 public XmlController(IDistributedCache cache,
                      IStringLocalizer <XmlController> localizer,
                      ILoggingFacade loggingFacade,
                      IXmlApi xmlApi)
 {
     _xmlApi        = xmlApi;
     _cache         = cache;
     _localizer     = localizer;
     _loggingFacade = loggingFacade;
     _loggingFacade.LogAsync(new LogEntry(LogLevels.Info, "Starting Xml Controller", "XmlController.cs", "XmlController"), CancellationToken.None);
 }
Esempio n. 2
0
 public EPSTableApi(IOptions <Settings> optionsAccessor, IEPSTableRepository epsTableRepository, IXmlApi xmlApi)
 {
     _epsTableRepository = epsTableRepository;
     _xmlApi             = xmlApi;
 }