public EmptyReportWriter(IHeaderWriter headerWriter, string message) { if (headerWriter == null) { throw new ArgumentNullException("headerWriter"); } this.headerWriter = headerWriter; this.message = message; }
public ReportWriter(IHeaderWriter headerWriter, IBodyWriter bodyWriter) { if (headerWriter == null) { throw new ArgumentNullException("headerWriter"); } if (bodyWriter == null) { throw new ArgumentNullException("bodyWriter"); } this.headerWriter = headerWriter; this.bodyWriter = bodyWriter; }