public void Configure(IReleaseNotesWriterSettings settings)
        {
            ReleaseNotesPdfWriterSettings pdfSettings = settings as ReleaseNotesPdfWriterSettings;
            if (pdfSettings == null)
                throw new ArgumentException("Expected ReleaseNotesPdfWriterSettings", "settings");

            Settings = pdfSettings;
        }
        public static IReleaseNotesWriter PdfGenerator(CommandLineOptions options)
        {
            var settings = new ReleaseNotesPdfWriterSettings
                           {
                               ProductName = options.ProductName,
                               BuildVersionNumber = options.BuildNumber,
                               GeneratedOn = DateTime.Now,
                               MergeReleaseNotesFile = options.MergeReleaseNotesFile,
                               LinkWorkItems = options.LinkWorkItems,
                               OutputFile = options.ExportFile
                           };

            var writer = new ReleaseNotesPdfWriter();
            writer.Configure(settings);

            return writer;
        }
 public ReleaseNotesPdfPageEvents(ReleaseNotesPdfWriterSettings settings)
 {
     _settings = settings;
 }