/// <summary> /// Initializes a new instance of the <see cref="TocProcessWorkflowController"/> class. /// </summary> public TocProcessWorkflowController(TocProcessWorkflowTextTransformation template, string documentPath, string vsixId, string contentPath) { Guard.NotNull(() => template, template); Guard.NotNull(() => documentPath, documentPath); Guard.NotNull(() => vsixId, vsixId); Guard.NotNull(() => contentPath, contentPath); this.processor = new TocGuidanceProcessor(documentPath, vsixId, contentPath); this.template = template; }
/// <summary> /// Initializes a new instance of the <see cref="TocProcessWorkflowController"/> class. /// </summary> public TocProcessWorkflowController(TocProcessWorkflowTextTransformation template, string documentPath, string vsixId, string contentPath) { Guard.NotNull(() => template, template); Guard.NotNull(() => documentPath, documentPath); Guard.NotNull(() => vsixId, vsixId); Guard.NotNull(() => contentPath, contentPath); this.processor = new TocGuidanceProcessor(documentPath, vsixId, contentPath); this.template = template; }