public ErrorController( IHttpCache cache, IHttpSession session, IDataRepository dataRepository, IWebTracker webTracker) : base(cache, session, dataRepository, webTracker) { }
void IExtensionApplication.Initialize() { ContainerRegistrar.SetupContainer(); this.logger = ContainerRegistrar.Container.Resolve <IWebTracker>(); AppDomain.CurrentDomain.FirstChanceException += CurrentDomainOnFirstChanceException; Application.DocumentManager.MdiActiveDocument.CommandWillStart += logger.TrackCommandUsage; var uiGenerator = ContainerRegistrar.Container.Resolve <IUiGenerator>(); try { uiGenerator.GenerateUi(false); } catch (Exception exception) { logger.TrackException(exception); } ContainerRegistrar.Container.Release(uiGenerator); IKojtoCadUpdater updater; try { updater = ContainerRegistrar.Container.Resolve <IKojtoCadUpdater>(); updater.UpdateKojtoCad(); } catch (Exception exception) { this.logger.TrackException(exception); } }
public BaseController( IHttpCache cache, IHttpSession session, IDataRepository dataRepository, IWebTracker webTracker) { DataRepository = dataRepository; WebTracker = webTracker; Cache = cache; Session = session; }
public SubmitController( IHttpCache cache, IHttpSession session, ISubmissionService submitService, IDataRepository dataRepository, IWebTracker webTracker, EmailSendingService emailSendingService) : base(cache, session, dataRepository, webTracker) { submissionService = submitService; this.emailSendingService = emailSendingService; }
public CompareController( IHttpCache cache, IHttpSession session, ISearchViewService searchViewService, ICompareViewService compareViewService, IDataRepository dataRepository, IOrganisationBusinessLogic organisationBusinessLogic, IWebTracker webTracker) : base(cache, session, dataRepository, webTracker) { OrganisationBusinessLogic = organisationBusinessLogic; SearchViewService = searchViewService; CompareViewService = compareViewService; }
public BaseController( ILogger logger, IWebService webService, ISharedBusinessLogic sharedBusinessLogic) { Logger = logger; WebService = webService; AutoMapper = webService.AutoMapper; Cache = webService.Cache; Session = webService.Session; WebTracker = webService.WebTracker; SharedBusinessLogic = sharedBusinessLogic; }
public WebService(IErrorViewModelFactory errorViewModelFactory, FeatureSwitchOptions featureSwitchOptions, IMapper autoMapper, IHttpCache cache, IHttpSession session, IWebHostEnvironment hostingEnvironment, IShortCodesRepository shortCodesRepository, IWebTracker webTracker, IEventLogger eventLogger) { ErrorViewModelFactory = errorViewModelFactory; FeatureSwitchOptions = featureSwitchOptions; AutoMapper = autoMapper; Cache = cache; Session = session; HostingEnvironment = hostingEnvironment; ShortCodesRepository = shortCodesRepository; WebTracker = webTracker; CustomLogger = eventLogger; }
public RegisterController( IHttpCache cache, IHttpSession session, IDataRepository dataRepository, IWebTracker webTracker, EmailSendingService emailSendingService, AuditLogger auditLogger) : base( cache, session, dataRepository, webTracker) { this.emailSendingService = emailSendingService; this.auditLogger = auditLogger; }
public OrganisationController( IHttpCache cache, IHttpSession session, ISubmissionService submitService, IScopeBusinessLogic scopeBL, IDataRepository dataRepository, RegistrationRepository registrationRepository, IWebTracker webTracker, EmailSendingService emailSendingService) : base( cache, session, dataRepository, webTracker) { SubmissionService = submitService; ScopeBusinessLogic = scopeBL; RegistrationRepository = registrationRepository; this.emailSendingService = emailSendingService; }
public ViewingController( IHttpCache cache, IHttpSession session, IViewingService viewingService, ISearchViewService searchViewService, ICompareViewService compareViewService, IOrganisationBusinessLogic organisationBusinessLogic, ISubmissionBusinessLogic submissionBusinessLogic, IObfuscator obfuscator, IDataRepository dataRepository, IWebTracker webTracker, AutoCompleteSearchService autoCompleteSearchService, IFileRepository fileRepository) : base(cache, session, dataRepository, webTracker) { ViewingService = viewingService; SearchViewService = searchViewService; CompareViewService = compareViewService; OrganisationBusinessLogic = organisationBusinessLogic; Obfuscator = obfuscator; SubmissionBusinessLogic = submissionBusinessLogic; this.autoCompleteSearchService = autoCompleteSearchService; this.fileRepository = fileRepository; }
public GoController(IWebTracker webTracker) { this.webTracker = webTracker; }