예제 #1
0
파일: ProcessLog.cs 프로젝트: Nucs/nlib
 private LoggedLine GetActiveLine() {
     if (Active == null) {
         Active = new LoggedLine();
         Logs.Add(Active);
     }
     return Active;
 }
예제 #2
0
 private LoggedLine GetActiveLine()
 {
     if (Active == null)
     {
         Active = new LoggedLine();
         Logs.Add(Active);
     }
     return(Active);
 }
예제 #3
0
 private void CloseActiveLine()
 {
     if (Active == null)
     {
         return;
     }
     Active.EndRecording();
     LineClosed?.Invoke(Active);
     Active = null;
 }
예제 #4
0
파일: ProcessLog.cs 프로젝트: Nucs/nlib
 private void CloseActiveLine() {
     if (Active == null) return;
     Active.EndRecording();
     LineClosed?.Invoke(Active);
     Active = null;
 }