コード例 #1
0
        public override void Attach(ILogMessageNotifiable notifiable)
        {
            base.Attach(notifiable);

            if (_showFromBeginning)
            {
                ReadFile();
            }
        }
コード例 #2
0
ファイル: FileReceiver1.cs プロジェクト: TanyaTPG/Log2Console
 public override void Attach(ILogMessageNotifiable notifiable)
 {
     base.Attach(notifiable);
     
     if (_showFromBeginning)
         ReadFile();
 }
コード例 #3
0
 public virtual void Detach()
 {
     Notifiable = null;
 }
コード例 #4
0
 public virtual void Attach(ILogMessageNotifiable notifiable)
 {
     Notifiable = notifiable;
 }
コード例 #5
0
 public virtual void Stop()
 {
     Notifiable = null;
 }
コード例 #6
0
ファイル: BaseReceiver.cs プロジェクト: TanyaTPG/Log2Console
 public virtual void Detach()
 {
     Notifiable = null;
 }
コード例 #7
0
ファイル: BaseReceiver.cs プロジェクト: TanyaTPG/Log2Console
 public virtual void Attach(ILogMessageNotifiable notifiable)
 {
     Notifiable = notifiable;
 }
コード例 #8
0
        public override void Attach(ILogMessageNotifiable notifiable)
        {
            base.Attach(notifiable);

            if (!string.IsNullOrEmpty(_connectionString) && !string.IsNullOrEmpty(_logTableName))
            {
                ConnectionString = _connectionString;
                LogTableName = _logTableName;
                ReadLogTable();
            }
        }