Пример #1
0
 private void OnOutputReceived(ProcessOutputEventArgs args)
 {
     lock (this)
     {
         if (_outputReceived != null)
         {
             _outputReceived(this, args);
         }
     }
 }
Пример #2
0
		private void OnOutputReceived(ProcessOutputEventArgs args)
		{
			lock (this)
			{
				if (_outputReceived != null)
					_outputReceived(this, args);
			}
		}