public AppLogController( ILogger <AppLogController> logger, IAppLogRepository repository ) { this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.repository = repository ?? throw new ArgumentNullException(nameof(repository)); }
public HomeController(Context context) { this.museumRepository = new MuseumRepository(context); this.userRepository = new UserRepository(context); this.appLogRepository = new AppLogRepository(context); this.ticketRepository = new TicketRepository(context); this.clientRepository = new ClientRepository(context); }
protected override void Dispose(bool disposing) { if (disposing) { logger = null; repository = null; } base.Dispose(disposing); }
public ExternalController(IWebHostEnvironment _hostEnv, IUtilidad _util, IGaleriaGirlsRepository _galeriaGirls, IGirlsRepository _girls, IAppLogRepository _log, IImageTool _imageTool, IGaleriaGirlsAudioRepository _galeriaGirlsAudio) { util = _util; hostEnv = _hostEnv; girls = _girls; galeriaGirls = _galeriaGirls; galeriaGirlsAudio = _galeriaGirlsAudio; imageTool = _imageTool; log = _log; }
public void Dispose() { _users = null; _userClaims = null; _histories = null; _activities = null; _posts = null; _attachments = null; _customers = null; _jobcards = null; _healthChecks = null; _healthCheckDetails = null; _branches = null; _appLogs = null; _context.Dispose(); }
public HomeController() { _workRepository = new WorkRepository(); _appLogRepository = new AppLogRepository(); }
public EngineNotify(IAppLogRepository _AppLogRepository, IEngineTool _EngineTool) { AppLogRepository = _AppLogRepository; EngineTool = _EngineTool; }
public AppLogController(Context context) { this.appLogRepository = new AppLogRepository(context); }
public LogService(IAppContext appContext , IAppLogRepository AppLogRepository) { _appContext = appContext; _AppLogRepository = AppLogRepository; }
/// <summary> /// Initializes a new instance of the <see cref="GetPaginatedQueryHandler"/> class. /// </summary> /// <param name="module">The query handler module.</param> /// <param name="appLogRepository">The application log repository.</param> public GetPaginatedQueryHandler(IQueryHandlerModule module, IAppLogRepository appLogRepository) : base(module) { this.appLogRepository = appLogRepository ?? throw new ArgumentNullException(nameof(appLogRepository)); }
public LogsController(IAppLogRepository repository, ILoggerFactory loggerFactory) { this.repository = repository; this.logger = loggerFactory.CreateLogger <ImagesController>(); }
public Utilidad(IAppLogRepository _log) { log = _log; }