示例#1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="DocFxIssuesProvider"/> class.
        /// </summary>
        /// <param name="log">The Cake log context.</param>
        /// <param name="settings">Settings for reading the log file.</param>
        public DocFxIssuesProvider(ICakeLog log, DocFxIssuesSettings settings)
            : base(log)
        {
            settings.NotNull(nameof(settings));

            this.settings = settings;
        }
示例#2
0
        public static ICodeAnalysisProvider DocFxIssues(
            this ICakeContext context,
            DocFxIssuesSettings settings)
        {
            context.NotNull(nameof(context));
            settings.NotNull(nameof(settings));

            return(new DocFxIssuesProvider(context.Log, settings));
        }