diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParametersInputFiles.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParametersInputFiles.cs index f4075eaa..d159b458 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParametersInputFiles.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IIssuesParametersInputFiles.cs @@ -87,21 +87,6 @@ public interface IIssuesParametersInputFiles /// IDictionary SarifLogFileContent { get; } - /// - /// Adds a path to a MSBuild log file created by XmlFileLogger. - /// - /// Path to the MSBuild log file. - [Obsolete("Use AddMsBuildXmlFileLoggerLogFilePath")] - void AddMsBuildXmlFileLoggerLogFile(FilePath logfilePath); - - /// - /// Adds a path to a MSBuild log file created by XmlFileLogger. - /// - /// Path to the MSBuild log file. - /// Settings for reading the log file. Null for default values. - [Obsolete("Use AddMsBuildXmlFileLoggerLogFilePath")] - void AddMsBuildXmlFileLoggerLogFile(FilePath logfilePath, IReadIssuesSettings settings); - /// /// Adds a path to a MSBuild log file created by XmlFileLogger. /// @@ -116,21 +101,6 @@ public interface IIssuesParametersInputFiles /// Settings for reading the log file. Null for default values. void AddMsBuildXmlFileLoggerLogFileContent(byte[] logfileContent, IReadIssuesSettings settings); - /// - /// Adds a path to a MSBuild binary log file. - /// - /// Path to the MSBuild log file. - [Obsolete("Use AddMsBuildBinaryLogFilePath")] - void AddMsBuildBinaryLogFile(FilePath logfilePath); - - /// - /// Adds a path to a MSBuild binary log file. - /// - /// Path to the MSBuild log file. - /// Settings for reading the log file. Null for default values. - [Obsolete("Use AddMsBuildBinaryLogFilePath")] - void AddMsBuildBinaryLogFile(FilePath logfilePath, IReadIssuesSettings settings); - /// /// Adds a path to a MSBuild binary log file. /// @@ -145,21 +115,6 @@ public interface IIssuesParametersInputFiles /// Settings for reading the log file. Null for default values. void AddMsBuildBinaryLogFileContent(byte[] logfileContent, IReadIssuesSettings settings); - /// - /// Adds a path to a InspectCode log file. - /// - /// Path to the InspectCode log file. - [Obsolete("Use AddInspectCodeLogFilePath")] - void AddInspectCodeLogFile(FilePath logfilePath); - - /// - /// Adds a path to a InspectCode log file. - /// - /// Path to the InspectCode log file. - /// Settings for reading the log file. Null for default values. - [Obsolete("Use AddInspectCodeLogFilePath")] - void AddInspectCodeLogFile(FilePath logfilePath, IReadIssuesSettings settings); - /// /// Adds a path to a InspectCode log file. /// @@ -174,21 +129,6 @@ public interface IIssuesParametersInputFiles /// Settings for reading the log file. Null for default values. void AddInspectCodeLogFileContent(byte[] logfileContent, IReadIssuesSettings settings); - /// - /// Adds a path to a markdownlint-cli log file. - /// - /// Path to the markdownlint-cli log file. - [Obsolete("Use AddMarkdownlintCliLogFilePath")] - void AddMarkdownlintCliLogFile(FilePath logfilePath); - - /// - /// Adds a path to a markdownlint-cli log file. - /// - /// Path to the markdownlint-cli log file. - /// Settings for reading the log file. Null for default values. - [Obsolete("Use AddMarkdownlintCliLogFilePath")] - void AddMarkdownlintCliLogFile(FilePath logfilePath, IReadIssuesSettings settings); - /// /// Adds a path to a markdownlint-cli log file. /// @@ -203,21 +143,6 @@ public interface IIssuesParametersInputFiles /// Settings for reading the log file. Null for default values. void AddMarkdownlintCliLogFileContent(byte[] logfileContent, IReadIssuesSettings settings); - /// - /// Adds a path to a markdownlint-cli log file created with --json. - /// - /// Path to the markdownlint-cli log file. - [Obsolete("Use AddMarkdownlintCliJsonLogFilePath")] - void AddMarkdownlintCliJsonLogFile(FilePath logfilePath); - - /// - /// Adds a path to a markdownlint-cli log file created with --json. - /// - /// Path to the markdownlint-cli log file. - /// Settings for reading the log file. Null for default values. - [Obsolete("Use AddMarkdownlintCliJsonLogFilePath")] - void AddMarkdownlintCliJsonLogFile(FilePath logfilePath, IReadIssuesSettings settings); - /// /// Adds a path to a markdownlint-cli log file created with --json. /// @@ -232,21 +157,6 @@ public interface IIssuesParametersInputFiles /// Settings for reading the log file. Null for default values. void AddMarkdownlintCliJsonLogFileContent(byte[] logfileContent, IReadIssuesSettings settings); - /// - /// Adds a path to a markdownlint log file in version 1. - /// - /// Path to the markdownlint log file. - [Obsolete("Use AddMarkdownlintV1LogFilePath")] - void AddMarkdownlintV1LogFile(FilePath logfilePath); - - /// - /// Adds a path to a markdownlint log file in version 1. - /// - /// Path to the markdownlint log file. - /// Settings for reading the log file. Null for default values. - [Obsolete("Use AddMarkdownlintV1LogFilePath")] - void AddMarkdownlintV1LogFile(FilePath logfilePath, IReadIssuesSettings settings); - /// /// Adds a path to a markdownlint log file in version 1. /// @@ -261,21 +171,6 @@ public interface IIssuesParametersInputFiles /// Settings for reading the log file. Null for default values. void AddMarkdownlintV1LogFileContent(byte[] logfileContent, IReadIssuesSettings settings); - /// - /// Adds a path to a ESLint log file in JSON format. - /// - /// Path to the ESLint log file. - [Obsolete("Use AddEsLintJsonLogFilePath")] - void AddEsLintJsonLogFile(FilePath logfilePath); - - /// - /// Adds a path to a ESLint log file in JSON format. - /// - /// Path to the ESLint log file. - /// Settings for reading the log file. Null for default values. - [Obsolete("Use AddEsLintJsonLogFilePath")] - void AddEsLintJsonLogFile(FilePath logfilePath, IReadIssuesSettings settings); - /// /// Adds a path to a ESLint log file in JSON format. /// @@ -290,21 +185,6 @@ public interface IIssuesParametersInputFiles /// Settings for reading the log file. Null for default values. void AddEsLintJsonLogFileContent(byte[] logfileContent, IReadIssuesSettings settings); - /// - /// Adds a path to a log file in SARIF format. - /// - /// Path to the SARIF log file. - [Obsolete("Use AddSarifLogFilePath")] - void AddSarifLogFile(FilePath logfilePath); - - /// - /// Adds a path to a log file in SARIF format. - /// - /// Path to the SARIF log file. - /// Settings for reading the log file. Null for default values. - [Obsolete("Use AddSarifLogFilePath")] - void AddSarifLogFile(FilePath logfilePath, IReadIssuesSettings settings); - /// /// Adds a path to a log file in SARIF format. /// diff --git a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParametersInputFiles.cs b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParametersInputFiles.cs index d07cedee..c58c6370 100644 --- a/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParametersInputFiles.cs +++ b/Cake.Frosting.Issues.Recipe/Cake.Frosting.Issues.Recipe/Context/Parameters/IssuesParametersInputFiles.cs @@ -55,18 +55,6 @@ public class IssuesParametersInputFiles : IIssuesParametersInputFiles /// public IDictionary SarifLogFileContent { get; } = new Dictionary(); - /// - public void AddMsBuildXmlFileLoggerLogFile(FilePath logfilePath) - { - this.AddMsBuildXmlFileLoggerLogFilePath(logfilePath); - } - - /// - public void AddMsBuildXmlFileLoggerLogFile(FilePath logfilePath, IReadIssuesSettings settings) - { - this.AddMsBuildXmlFileLoggerLogFilePath(logfilePath, settings); - } - /// public void AddMsBuildXmlFileLoggerLogFilePath(FilePath logfilePath, IReadIssuesSettings settings) { @@ -83,18 +71,6 @@ public void AddMsBuildXmlFileLoggerLogFileContent(byte[] logfileContent, IReadIs this.MsBuildXmlFileLoggerLogFileContent.Add(logfileContent, settings); } - /// - public void AddMsBuildBinaryLogFile(FilePath logfilePath) - { - this.AddMsBuildBinaryLogFilePath(logfilePath); - } - - /// - public void AddMsBuildBinaryLogFile(FilePath logfilePath, IReadIssuesSettings settings) - { - this.AddMsBuildBinaryLogFilePath(logfilePath, settings); - } - /// public void AddMsBuildBinaryLogFilePath(FilePath logfilePath, IReadIssuesSettings settings) { @@ -111,18 +87,6 @@ public void AddMsBuildBinaryLogFileContent(byte[] logfileContent, IReadIssuesSet this.MsBuildBinaryLogFileContent.Add(logfileContent, settings); } - /// - public void AddInspectCodeLogFile(FilePath logfilePath) - { - this.AddInspectCodeLogFilePath(logfilePath); - } - - /// - public void AddInspectCodeLogFile(FilePath logfilePath, IReadIssuesSettings settings) - { - this.AddInspectCodeLogFilePath(logfilePath, settings); - } - /// public void AddInspectCodeLogFilePath(FilePath logfilePath, IReadIssuesSettings settings) { @@ -139,18 +103,6 @@ public void AddInspectCodeLogFileContent(byte[] logfileContent, IReadIssuesSetti this.InspectCodeLogFileContent.Add(logfileContent, settings); } - /// - public void AddMarkdownlintCliLogFile(FilePath logfilePath) - { - this.AddMarkdownlintCliLogFilePath(logfilePath); - } - - /// - public void AddMarkdownlintCliLogFile(FilePath logfilePath, IReadIssuesSettings settings) - { - this.AddMarkdownlintCliLogFilePath(logfilePath, settings); - } - /// public void AddMarkdownlintCliLogFilePath(FilePath logfilePath, IReadIssuesSettings settings) { @@ -167,18 +119,6 @@ public void AddMarkdownlintCliLogFileContent(byte[] logfileContent, IReadIssuesS this.MarkdownlintCliLogFileContent.Add(logfileContent, settings); } - /// - public void AddMarkdownlintCliJsonLogFile(FilePath logfilePath) - { - this.AddMarkdownlintCliJsonLogFilePath(logfilePath, null); - } - - /// - public void AddMarkdownlintCliJsonLogFile(FilePath logfilePath, IReadIssuesSettings settings) - { - this.AddMarkdownlintCliJsonLogFilePath(logfilePath, settings); - } - /// public void AddMarkdownlintCliJsonLogFilePath(FilePath logfilePath, IReadIssuesSettings settings) { @@ -195,18 +135,6 @@ public void AddMarkdownlintCliJsonLogFileContent(byte[] logfileContent, IReadIss this.MarkdownlintCliJsonLogFileContent.Add(logfileContent, settings); } - /// - public void AddMarkdownlintV1LogFile(FilePath logfilePath) - { - this.AddMarkdownlintV1LogFilePath(logfilePath); - } - - /// - public void AddMarkdownlintV1LogFile(FilePath logfilePath, IReadIssuesSettings settings) - { - this.AddMarkdownlintV1LogFilePath(logfilePath, settings); - } - /// public void AddMarkdownlintV1LogFilePath(FilePath logfilePath, IReadIssuesSettings settings) { @@ -223,18 +151,6 @@ public void AddMarkdownlintV1LogFileContent(byte[] logfileContent, IReadIssuesSe this.MarkdownlintV1LogFileContent.Add(logfileContent, settings); } - /// - public void AddEsLintJsonLogFile(FilePath logfilePath) - { - this.AddEsLintJsonLogFilePath(logfilePath); - } - - /// - public void AddEsLintJsonLogFile(FilePath logfilePath, IReadIssuesSettings settings) - { - this.AddEsLintJsonLogFilePath(logfilePath, settings); - } - /// public void AddEsLintJsonLogFilePath(FilePath logfilePath, IReadIssuesSettings settings) { @@ -251,18 +167,6 @@ public void AddEsLintJsonLogFileContent(byte[] logfileContent, IReadIssuesSettin this.EsLintJsonLogFileContent.Add(logfileContent, settings); } - /// - public void AddSarifLogFile(FilePath logfilePath) - { - this.AddSarifLogFilePath(logfilePath); - } - - /// - public void AddSarifLogFile(FilePath logfilePath, IReadIssuesSettings settings) - { - this.AddSarifLogFilePath(logfilePath, settings); - } - /// public void AddSarifLogFilePath(FilePath logfilePath, IReadIssuesSettings settings) { diff --git a/Cake.Issues.Recipe/Content/parameters/IssuesParametersInputFiles.cake b/Cake.Issues.Recipe/Content/parameters/IssuesParametersInputFiles.cake index 86124148..9de99899 100644 --- a/Cake.Issues.Recipe/Content/parameters/IssuesParametersInputFiles.cake +++ b/Cake.Issues.Recipe/Content/parameters/IssuesParametersInputFiles.cake @@ -85,27 +85,6 @@ public class IssuesParametersInputFiles #region MsBuildXmlFileLoggerLogFile - /// - /// Adds a path to a MSBuild log file created by XmlFileLogger. - /// - /// Path to the MSBuild log file. - [Obsolete("Use AddMsBuildXmlFileLoggerLogFilePath")] - public void AddMsBuildXmlFileLoggerLogFile(FilePath logfilePath) - { - this.AddMsBuildXmlFileLoggerLogFilePath(logfilePath); - } - - /// - /// Adds a path to a MSBuild log file created by XmlFileLogger. - /// - /// Path to the MSBuild log file. - /// Settings for reading the log file. Null for default values. - [Obsolete("Use AddMsBuildXmlFileLoggerLogFilePath")] - public void AddMsBuildXmlFileLoggerLogFile(FilePath logfilePath, IReadIssuesSettings settings) - { - this.AddMsBuildXmlFileLoggerLogFilePath(logfilePath, settings); - } - /// /// Adds a path to a MSBuild log file created by XmlFileLogger. /// @@ -179,29 +158,6 @@ public class IssuesParametersInputFiles #region MsBuildBinaryLogFile - /// - /// Adds a path to a MSBuild binary log file. - /// - /// Path to the MSBuild log file. - [Obsolete("Use AddMsBuildBinaryLogFilePath")] - public void AddMsBuildBinaryLogFile(FilePath logfilePath) - { - logfilePath.NotNull(); - this.AddMsBuildBinaryLogFile(logfilePath, null); - } - - /// - /// Adds a path to a MSBuild binary log file. - /// - /// Path to the MSBuild log file. - /// Settings for reading the log file. Null for default values. - [Obsolete("Use AddMsBuildBinaryLogFilePath")] - public void AddMsBuildBinaryLogFile(FilePath logfilePath, IReadIssuesSettings settings) - { - logfilePath.NotNull(); - this.MsBuildBinaryLogFilePaths.Add(logfilePath, settings); - } - /// /// Adds a path to a MSBuild binary log file. /// @@ -275,29 +231,6 @@ public class IssuesParametersInputFiles #region InspectCodeLogFile - /// - /// Adds a path to a InspectCode log file. - /// - /// Path to the InspectCode log file. - [Obsolete("Use AddInspectCodeLogFilePath")] - public void AddInspectCodeLogFile(FilePath logfilePath) - { - logfilePath.NotNull(); - this.AddInspectCodeLogFile(logfilePath, null); - } - - /// - /// Adds a path to a InspectCode log file. - /// - /// Path to the InspectCode log file. - /// Settings for reading the log file. Null for default values. - [Obsolete("Use AddInspectCodeLogFilePath")] - public void AddInspectCodeLogFile(FilePath logfilePath, IReadIssuesSettings settings) - { - logfilePath.NotNull(); - this.InspectCodeLogFilePaths.Add(logfilePath, settings); - } - /// /// Adds a path to an InspectCode log file. /// @@ -371,29 +304,6 @@ public class IssuesParametersInputFiles #region MarkdownlintCliLogFile - /// - /// Adds a path to a markdownlint-cli log file. - /// - /// Path to the markdownlint-cli log file. - [Obsolete("Use AddMarkdownlintCliLogFilePath")] - public void AddMarkdownlintCliLogFile(FilePath logfilePath) - { - logfilePath.NotNull(); - this.AddMarkdownlintCliLogFile(logfilePath, null); - } - - /// - /// Adds a path to a markdownlint-cli log file. - /// - /// Path to the markdownlint-cli log file. - /// Settings for reading the log file. Null for default values. - [Obsolete("Use AddMarkdownlintCliLogFilePath")] - public void AddMarkdownlintCliLogFile(FilePath logfilePath, IReadIssuesSettings settings) - { - logfilePath.NotNull(); - this.MarkdownlintCliLogFilePaths.Add(logfilePath, settings); - } - /// /// Adds a path to a markdownlint-cli log file. /// @@ -468,29 +378,6 @@ public class IssuesParametersInputFiles #region MarkdownlintCliJsonLogFile - /// - /// Adds a path to a markdownlint-cli log file created with --json. - /// - /// Path to the markdownlint-cli log file. - [Obsolete("Use AddMarkdownlintCliJsonLogFilePath")] - public void AddMarkdownlintCliJsonLogFile(FilePath logfilePath) - { - logfilePath.NotNull(); - this.AddMarkdownlintCliJsonLogFile(logfilePath, null); - } - - /// - /// Adds a path to a markdownlint-cli log file created with --json. - /// - /// Path to the markdownlint-cli log file. - /// Settings for reading the log file. Null for default values. - [Obsolete("Use AddMarkdownlintCliJsonLogFilePath")] - public void AddMarkdownlintCliJsonLogFile(FilePath logfilePath, IReadIssuesSettings settings) - { - logfilePath.NotNull(); - this.MarkdownlintCliJsonLogFilePaths.Add(logfilePath, settings); - } - /// /// Adds a path to a markdownlint-cli log file created with --json. /// @@ -564,29 +451,6 @@ public class IssuesParametersInputFiles #region MarkdownlintV1LogFile - /// - /// Adds a path to a markdownlint log file in version 1. - /// - /// Path to the markdownlint log file. - [Obsolete("Use AddMarkdownlintV1LogFilePath")] - public void AddMarkdownlintV1LogFile(FilePath logfilePath) - { - logfilePath.NotNull(); - this.AddMarkdownlintV1LogFile(logfilePath, null); - } - - /// - /// Adds a path to a markdownlint log file in version 1. - /// - /// Path to the markdownlint log file. - /// Settings for reading the log file. Null for default values. - [Obsolete("Use AddMarkdownlintV1LogFilePath")] - public void AddMarkdownlintV1LogFile(FilePath logfilePath, IReadIssuesSettings settings) - { - logfilePath.NotNull(); - this.MarkdownlintV1LogFilePaths.Add(logfilePath, settings); - } - /// /// Adds a path to a markdownlint log file in version 1. /// @@ -660,29 +524,6 @@ public class IssuesParametersInputFiles #region EsLintJsonLogFile - /// - /// Adds a path to a ESLint log file in JSON format. - /// - /// Path to the ESLint log file. - [Obsolete("Use EsLintJsonLogFilePath")] - public void AddEsLintJsonLogFile(FilePath logfilePath) - { - logfilePath.NotNull(); - this.AddEsLintJsonLogFile(logfilePath, null); - } - - /// - /// Adds a path to a ESLint log file in JSON format. - /// - /// Path to the ESLint log file. - /// Settings for reading the log file. Null for default values. - [Obsolete("Use EsLintJsonLogFilePath")] - public void AddEsLintJsonLogFile(FilePath logfilePath, IReadIssuesSettings settings) - { - logfilePath.NotNull(); - this.EsLintJsonLogFilePaths.Add(logfilePath, settings); - } - /// /// Adds a path to a ESLint log file in JSON format. /// @@ -756,28 +597,6 @@ public class IssuesParametersInputFiles #region SarifLogFile - /// - /// Adds a path to a log file in SARIF format. - /// - /// Path to the SARIF log file. - [Obsolete("Use AddSarifLogFilePath")] - public void AddSarifLogFile(FilePath logfilePath) - { - logfilePath.NotNull(); - this.AddSarifLogFile(logfilePath, null); - } - /// - /// Adds a path to a log file in SARIF format. - /// - /// Path to the SARIF log file. - /// Settings for reading the log file. Null for default values. - [Obsolete("Use AddSarifLogFilePath")] - public void AddSarifLogFile(FilePath logfilePath, IReadIssuesSettings settings) - { - logfilePath.NotNull(); - this.SarifLogFilePaths.Add(logfilePath, settings); - } - /// /// Adds a path to a log file in SARIF format. ///