private void RaiseWriteEvent(WriteEventArgs eventArgs) { if (WriteEvent != null) { WriteEvent(this, eventArgs); } }
private void HandlePublisherEvent(Object s, WriteEventArgs eventArgs) { if (readedText != "") { readedText += ","; } readedText += eventArgs.Text; }
private void HandleWriteEvent(object sender, WriteEventArgs eventArgs) { WriteText(eventArgs.Text); }