AccessLog.TransactionWatcher.OnChanged C# (CSharp) Метод

OnChanged() приватный Метод

private OnChanged ( object souruce, FileSystemEventArgs e ) : void
souruce object
e System.IO.FileSystemEventArgs
Результат void
        private void OnChanged(object souruce, FileSystemEventArgs e)
        {
            if (this.OnNewTransactions != null)
            {
                var lastTransactions = this.transactionRepository.GetLastTransactions(DateTime.Now);
                this.OnNewTransactions(new TransactionEventArgs(lastTransactions));
            }
        }