public BaseController(ICloudService cloudService, IPlaylist playlist, IErrorLoggingService logger, IPlaySettings playSettings) { Playlist = playlist; _cloudService = cloudService; _logger = logger; _playSettings = playSettings; }
public ExceptionHandlingService(ILoggingService loggingService, IMessenger messenger, IErrorLoggingService errorLogger) { _loggingService = loggingService; _messenger = messenger; _errorLogger = errorLogger; }
public EnterpriseClient( IErrorLoggingService errorLoggingService, ISyncResource syncResource, RetrieveCustomerServiceConfiguration.RetrieveCustomerServiceConfiguration retrieveCustomerServiceConfiguration, IRetrieveCustomerServiceConfigurationMapper retrieveCustomerServiceConfigurationMapper, GeneratePasscode.GeneratePasscode generatePasscodeClient, IEnterpriseExceptionHandler enterpriseExceptionHandler, IGetFacilitiesMapper getFacilitiesMapper, ServiceOrderOrchestration.ServiceOrderOrchestration serviceOrderOrchestration, CustomerOrderInformation.CustomerOrderInformation customerOrderInformation, IRetrieveCustomerServiceAccount retrieveCustomerServiceAccount, IServiceDiagnosticTests serviceDiagnosticTests, IRetrieveServiceDesign retrieveServiceDesign, IRetrieveServiceConfiguration retrieveServiceConfig ) { _errorLoggingService = errorLoggingService; _syncResource = syncResource; _retrieveCustomerServiceConfiguration = retrieveCustomerServiceConfiguration; _retrieveCustomerServiceConfigurationMapper = retrieveCustomerServiceConfigurationMapper; _enterpriseExceptionHandler = enterpriseExceptionHandler; _generatePasscodeClient = generatePasscodeClient; _getFacilityMapper = getFacilitiesMapper; _serviceOrderOrchestration = serviceOrderOrchestration; _customerOrderInformation = customerOrderInformation; _retrieveCustomerServiceAccount = retrieveCustomerServiceAccount; _serviceDiagnosticTests = serviceDiagnosticTests; _retrieveServiceDesign = retrieveServiceDesign; _retrieveServiceConfig = retrieveServiceConfig; }
public PlaylistsController(IPlaylist playlist, IErrorLoggingService logger, IPlaylistService playlistsService, ICloudService cloudService, IPlaySettings playSettings, IAppSettings appSettings) : base(cloudService, playlist, logger, playSettings) { _appSettings = appSettings; _playlistsService = playlistsService; }
public LegacyRetrieveServiceDesign(RetrieveServiceDesign rsdClient, IErrorLoggingService errorLoggingService, IGetFacilitiesMapper getFacilitiesMappers, IEnterpriseExceptionHandler enterpriseExceptionHandler) { _rsdClient = rsdClient; _getFacilitiesMappers = getFacilitiesMappers; _enterpriseExceptionHandler = enterpriseExceptionHandler; _errorLoggingService = errorLoggingService; }
public FileSystemWatcherWindow() { InitializeComponent(); DataContext = this; _errorLoggingService = new DialogErrorLoggingService(); Events = new ObservableCollection <FSWModel>(); }
public LegacyRetrieveCustomerServiceAccount(RetrieveCustomerAccountSummary rcasClient, IErrorLoggingService errorLoggingService, IGetBillingAccountMappers getBillingAccountMappers, IEnterpriseExceptionHandler enterpriseExceptionHandler) { _rcasClient = rcasClient; _getBillingAccountMappers = getBillingAccountMappers; _enterpriseExceptionHandler = enterpriseExceptionHandler; _errorLoggingService = errorLoggingService; }
public ConcreteRetrieveCustomerServiceAccount(CustomerInformationInquiry customerInformationInquiry, IErrorLoggingService errorLoggingService, IGetBillingAccountMappers getBillingAccountMappers, IEnterpriseExceptionHandler enterpriseExceptionHandler) { //_rcasClient = rcasClient; _customerInformationInquiry = customerInformationInquiry; _getBillingAccountMappers = getBillingAccountMappers; _enterpriseExceptionHandler = enterpriseExceptionHandler; _errorLoggingService = errorLoggingService; }
public ConcreteSyncResource(ResourceInformationInquiry resourceInformationInquiry, IErrorLoggingService errorLoggingService, IEnterpriseExceptionHandler enterpriseExceptionHandler) { _resourceInformationInquiry = resourceInformationInquiry; _enterpriseExceptionHandler = enterpriseExceptionHandler; _errorLoggingService = errorLoggingService; }
public Service(ITrackRepository repository, ICloudService cloudService, IErrorLoggingService logger, SyncData syncData, ITaggingService taggingService) { _cloudService = cloudService; _logger = logger; _repository = repository; _syncData = syncData; _taggingService = taggingService; }
public DbUnstructuredDataSerializer( IErrorLoggingService errorLoggingService, IJsonSerializerSettingsFactory jsonSerializerSettingsFactory ) { _errorLoggingService = errorLoggingService; _jsonSerializerSettingsFactory = jsonSerializerSettingsFactory; }
public LegacySyncResource(SyncResource syncResource, IErrorLoggingService errorLoggingService, IEnterpriseExceptionHandler enterpriseExceptionHandler) { _syncResource = syncResource; _enterpriseExceptionHandler = enterpriseExceptionHandler; _errorLoggingService = errorLoggingService; }
public RetrieveDpiNotes(CustomerInformationInquiry customerInformationInquiry, IErrorLoggingService errorLoggingService, IEnterpriseExceptionHandler enterpriseExceptionHandler) { _customerInformationInquiry = customerInformationInquiry; _errorLoggingService = errorLoggingService; _enterpriseException = enterpriseExceptionHandler; }
/// <summary> /// Public constructor for LoggingExamples02_ViaLoggingService /// which uses dependency injection. /// /// For production code, simply call without the argument myErrorLoggingService /// /// For test methods, you can inject a different implementation based /// on the IErrorLoggingService. /// </summary> /// <param name="myErrorLoggingService"></param> public LoggingExamples02_ViaLoggingService(IErrorLoggingService myErrorLoggingService = null) { if (myErrorLoggingService == null) { myErrorLoggingService = new ErrorLoggingService(); } _errorLoggingService = myErrorLoggingService; }
public UsersController( AdminAppContext db, UserManager <ApplicationUser> userManager, RoleManager <ApplicationRole> roleManager, IEmailSendingService emailService, IErrorLoggingService errorLogger) : base(db) { _userManager = userManager; _roleManager = roleManager; _emailService = emailService; _errorLogger = errorLogger; }
public AssetsController( IQueryExecutor queryExecutor, IResizedImageAssetFileService resizedImageAssetFileService, IErrorLoggingService errorLoggingService, IImageAssetRouteLibrary imageAssetRouteLibrary ) { _queryExecutor = queryExecutor; _resizedImageAssetFileService = resizedImageAssetFileService; _errorLoggingService = errorLoggingService; _imageAssetRouteLibrary = imageAssetRouteLibrary; }
/// <summary> /// Initializes a new instance of the <see cref="BusinessFacade"/> class. /// </summary> /// <param name="rosettianService">The triad service.</param> /// <param name="enterpriseService">The dpi service.</param> /// <param name="errorLoggingService">ErrorLogging service.</param> /// <param name="billingClient">Billing client.</param> /// <param name="rozFacilityClient">Rosettian Facility client.</param> public BusinessFacade(IRosettianService rosettianService, IEnterpriseService enterpriseService, IErrorLoggingService errorLoggingService, IBillingClient billingClient, IRosettianFacilityClient rozFacilityClient) { _enterpriseService = enterpriseService; _rosettianService = rosettianService; _errorLoggingService = errorLoggingService; _billingClient = billingClient; _rozFacilityClient = rozFacilityClient; }
public Engine( IUIService uiService, ICommandProcessingService commandProcessor, IErrorLoggingService errorLogger) { this.uiService = uiService; this.commandProcessor = commandProcessor; this.errorLogger = errorLogger; isStarted = false; isWorkingAsync = false; exitCommand = "exit"; }
protected override void EstablishContext() { var schoolInformationRepository = mocks.StrictMock<IRepository<SchoolInformation>>(); photoProcessor = mocks.StrictMock<IPhotoProcessor>(); errorLoggingService = mocks.StrictMock<IErrorLoggingService>(); Expect.Call(schoolInformationRepository.GetAll()).Return( new List<SchoolInformation> { new SchoolInformation {SchoolId = 222, LocalEducationAgencyId = LocalEducationAgencyId}, new SchoolInformation {SchoolId = 333, LocalEducationAgencyId = LocalEducationAgencyId}, new SchoolInformation {SchoolId = 444, LocalEducationAgencyId = LocalEducationAgencyId + 900} }. AsQueryable()); photoManagementService = new PhotoManagementService(schoolInformationRepository, photoProcessor, errorLoggingService); }
public async Task RunCommandInBackground(IServiceProvider serviceProvider) { using (var scope = ServiceProvider.CreateScope()) { IErrorLoggingService logginService = scope.ServiceProvider.GetRequiredService <IErrorLoggingService>(); try { var cmd = new SendStatusMailCommand(); await scope.ServiceProvider.GetRequiredService <IDomainRepository>().ExecuteCommandAsync(cmd); } catch (Exception ex) { await logginService.LogAsync(ex); // Nothing more to do here as we run this async, so the request has completed a long time ago. // Just pray for the log statement to tell what is wrong. } } }
public OrderHelper(IErrorLoggingService errorLoggingService, IMailersInformationEntitiesRepository mailersInformationEntitiesRepository) { _errorLoggingService = errorLoggingService; _mailersInformationEntitiesRepository = mailersInformationEntitiesRepository; }
/// <summary> /// SyncWithOrImportDataFromASPP method /// Note: uses and modifies the current context of LoginModel /// </summary> /// <param name="myErrorLoggingService"></param> /// <param name="userId"></param> public void SyncWithOrImportDataFromASPP(IErrorLoggingService myErrorLoggingService, string userId) { // reset the Message and Errors properties of current context this.Message = string.Empty; this.Errors = false; // sync all user information with UserManager settings var myASPPHelper = new ASPPHelper(); Exception exceptionDetailsFromASPP = null; try { if (myASPPHelper.SimplUserLookup(userId)) { myASPPHelper.SyncCurrentUser(this.User, this.Groups, userId); } else { myASPPHelper.FullUserImport(this.User, this.Groups, userId); } } catch (ASPPException me) { // This catches a specific exception type (ASPPException) stemming from the ASPP application this.Errors = true; exceptionDetailsFromASPP = me; this.Message = string.Format("Your login is correct, but there is a problem with your user profile. ({0})", me.Message); } catch (Exception ex) { // This catches any other exception types stemming from the ASPP application this.Errors = true; exceptionDetailsFromASPP = ex; this.Message = "An error occurred trying to fetch your user profile. Please contact support."; } if (this.Errors) { myErrorLoggingService.LogError(exceptionDetailsFromASPP); } }
public NotificationsHub(IErrorLoggingService errorLogger) : base(errorLogger) { }
public HomeController(IPlaylist playlist, IErrorLoggingService error, IPlaylistService playlistsService, ICloudService cloudService, ILastFmApiClientService lastFm, IPlaySettings playSettings) : base(cloudService, playlist, error, playSettings) { _lastFm = lastFm; }
public ConsolidatedRetrieveServiceConfiguration(CustomerInformationInquiry consolidatedClient, IErrorLoggingService errorLoggingService, IEnterpriseExceptionHandler enterpriseExceptionHandler) { _consolidatedClient = consolidatedClient; _enterpriseExceptionHandler = enterpriseExceptionHandler; _errorLoggingService = errorLoggingService; }
public RecordsForDB2(IDatabase dbForRecords, IErrorLoggingService errorLoggingService) { db = dbForRecords; logger = errorLoggingService; }
public ArtistController(IPlaylist playlist, IErrorLoggingService logger, ICloudService cloudService, IPlaySettings playSettings) : base(cloudService, playlist, logger, playSettings) { }
public CurrentTrackController(ITrackLoveService trackLoveService, ICloudService cloudService, IPlaylist playlist, IErrorLoggingService logger, IPlaySettings playSettings) : base(cloudService, playlist, logger, playSettings) { _trackLoveService = trackLoveService; }
public CurrentPlaylistController(ICloudService cloudService, IPlaylist playlist, IErrorLoggingService logger, IPlaySettings playSettings, IAppSettings appSettings) : base(cloudService, playlist, logger, playSettings) { _appSettings = appSettings; }
public ServiceDiagnosticTests(IErrorLoggingService errorLoggingService, ServiceTestExecution lineTestClient, IEnterpriseExceptionHandler enterpriseExceptionHandler) { _errorLoggingService = errorLoggingService; _lineTestClient = lineTestClient; _enterpriseExceptionHandler = enterpriseExceptionHandler; }
public FSWatcher(string folderPath, IWatcherLoggingService outputService, IErrorLoggingService errorLoggingService) { FolderPath = folderPath; _watcherLoggingService = outputService; _errorLoggingService = errorLoggingService; }
public ConcreteRetrieveCustomerServiceAccount(CustomerInformationInquiry customerInformationInquiry, IErrorLoggingService errorLoggingService, IEnterpriseExceptionHandler enterpriseExceptionHandler) { _customerInformationInquiry = customerInformationInquiry; _enterpriseExceptionHandler = enterpriseExceptionHandler; _errorLoggingService = errorLoggingService; }
public SignalRLoggingMiddleware(RequestDelegate next, IErrorLoggingService errorLogger) { _next = next; _errorLogger = errorLogger; }
public SIMPLAdminEntitiesRepository(IErrorLoggingService errorLoggingService) { myErrorLoggingService = errorLoggingService; }
public HubBase(IErrorLoggingService errorLogger) => _errorLogger = errorLogger;
/// <summary> /// Association Model Constructor /// </summary> /// <param name="userRepository"></param> /// <param name="errorLoggingService"></param> public AssociationModel(IUserRepository userRepository, IErrorLoggingService errorLoggingService) { _userRepository = userRepository; _errorLogger = errorLoggingService; }
public PlayerController(IPlayer player, ICloudService cloudService, IPlaylist playlist, IErrorLoggingService logger, IUpdatePlayProgress playProgress, IPlaySettings playSettings) : base(cloudService, playlist, logger, playSettings) { _player = player; _playProgress = playProgress; }
public EnterpriseExceptionHandler(IErrorLoggingService errorLoggingService) { _errorLoggingService = errorLoggingService; }
public EnterpriseClientMessageInspector(IErrorLoggingService errorLoggingService) { _errorLoggingService = errorLoggingService; }
public ErrorHandlerMiddleware(RequestDelegate next, IErrorLoggingService errorLogger) { _errorLogger = errorLogger; _next = next; }
public ConsolidatedRetrieveServiceDesign(ServiceDesignAssign serviceDesignInquiry, IErrorLoggingService errorLoggingService, IEnterpriseExceptionHandler enterpriseExceptionHandler) { _serviceDesignInquiry = serviceDesignInquiry; _enterpriseExceptionHandler = enterpriseExceptionHandler; _errorLoggingService = errorLoggingService; }
public LegacyServiceDiagnosticTests(IErrorLoggingService errorLoggingService, DAL.ScheduleServiceDiagnosticTest.ScheduleServiceDiagnosticTest lineTestClient, IEnterpriseExceptionHandler enterpriseExceptionHandler) { _errorLoggingService = errorLoggingService; _lineTestClient = lineTestClient; _enterpriseExceptionHandler = enterpriseExceptionHandler; }
public LibraryController(IPlaylist playlist, IErrorLoggingService logger, ICloudService cloudService, Interfaces.ILibraryService library, IPlaySettings playSettings) : base(cloudService, playlist, logger, playSettings) { _cloudService = cloudService; _library = library; }