Exemplo n.º 1
0
 public EmptyReportWriter(IHeaderWriter headerWriter, string message)
 {
     if (headerWriter == null)
     {
         throw new ArgumentNullException("headerWriter");
     }
     this.headerWriter = headerWriter;
     this.message      = message;
 }
Exemplo n.º 2
0
            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;
            }