Пример #1
0
 public void Bind(RuntimeLog aRL)
 {
     _Model?.Dispose();
     _Model           = new RLModel(aRL, this.Dispatcher);
     _Model.Clarify  += RL_ClarifyLog;
     this.DataContext = _Model;
 }
Пример #2
0
 public RLModel(RuntimeLog aRL, Dispatcher aDispatcher)
 {
     rl = aRL ?? RL.GlobalRL;
     RegisteEvent();
     _Clearer = new Clearer();
     _Clearer.Bind(rl);
 }
Пример #3
0
 public void Dispose()
 {
     if (_RL != null)
     {
         UnregisteEvent();
     }
     _RL = null;
 }
Пример #4
0
 public void Bind(RuntimeLog aRL)
 {
     RLBinded = aRL;
 }