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();
 }
Exemple #3
0
 public Log4NetTest()
 {
     _loggerRepository = new Log4NetRepository();
 }
Exemple #4
0
 public Log4NetService(IUnitOfWork unitOfWork, ILog4NetRepository log4NetRepository)
 {
     _unitOfWork        = unitOfWork;
     _log4NetRepository = log4NetRepository;
 }
Exemple #5
0
 public Log4NetController(ILog4NetRepository log4NetRepository)
 {
     this._log4NetRepository = log4NetRepository;
 }
Exemple #6
0
 public DocumentController(IBlobRepository <CloudBlockBlob> blobRepository, ILog4NetRepository loggerRepository)
 {
     _blobRepository   = blobRepository;
     _loggerRepository = loggerRepository;
 }