public override void Write(char value) => monitor.NotifySegmentCaptured( new CapturedOutputSegment(codeCellId, fileDescriptor, value));
public override void Write(char value) => monitor.NotifySegmentCaptured( new CapturedOutputSegment(fileDescriptor, value, context));