public FrmLog() { InitializeComponent(); log4netRepo = new Log4NetRepository(); logData = log4netRepo.GetAll(); PageOffsetList offsetList = new PageOffsetList(); offsetList.TotalRecords = logData.Count; totalRecords = logData.Count; logsBindingNavigator.BindingSource = logsBindingSource; logsBindingSource.CurrentChanged += new System.EventHandler(bindingSource1_CurrentChanged); logsBindingSource.DataSource = offsetList; DataGridViewHelper.SetDataGridTheme(logsDataGridView); }
public void Init() { logRepository = new Log4NetRepository(); }
public Log4NetTest() { _loggerRepository = new Log4NetRepository(); }
public Log4NetService(IUnitOfWork unitOfWork, ILog4NetRepository log4NetRepository) { _unitOfWork = unitOfWork; _log4NetRepository = log4NetRepository; }
public Log4NetController(ILog4NetRepository log4NetRepository) { this._log4NetRepository = log4NetRepository; }
public DocumentController(IBlobRepository <CloudBlockBlob> blobRepository, ILog4NetRepository loggerRepository) { _blobRepository = blobRepository; _loggerRepository = loggerRepository; }