Skip to content

Commit

Permalink
Remove obsolete members from IssuesParametersInputFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalberger committed Nov 21, 2024
1 parent 0b18de6 commit 8c995ec
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 397 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,21 +87,6 @@ public interface IIssuesParametersInputFiles
/// </summary>
IDictionary<byte[], IReadIssuesSettings> SarifLogFileContent { get; }

/// <summary>
/// Adds a path to a MSBuild log file created by XmlFileLogger.
/// </summary>
/// <param name="logfilePath">Path to the MSBuild log file.</param>
[Obsolete("Use AddMsBuildXmlFileLoggerLogFilePath")]
void AddMsBuildXmlFileLoggerLogFile(FilePath logfilePath);

/// <summary>
/// Adds a path to a MSBuild log file created by XmlFileLogger.
/// </summary>
/// <param name="logfilePath">Path to the MSBuild log file.</param>
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
[Obsolete("Use AddMsBuildXmlFileLoggerLogFilePath")]
void AddMsBuildXmlFileLoggerLogFile(FilePath logfilePath, IReadIssuesSettings settings);

/// <summary>
/// Adds a path to a MSBuild log file created by XmlFileLogger.
/// </summary>
Expand All @@ -116,21 +101,6 @@ public interface IIssuesParametersInputFiles
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
void AddMsBuildXmlFileLoggerLogFileContent(byte[] logfileContent, IReadIssuesSettings settings);

/// <summary>
/// Adds a path to a MSBuild binary log file.
/// </summary>
/// <param name="logfilePath">Path to the MSBuild log file.</param>
[Obsolete("Use AddMsBuildBinaryLogFilePath")]
void AddMsBuildBinaryLogFile(FilePath logfilePath);

/// <summary>
/// Adds a path to a MSBuild binary log file.
/// </summary>
/// <param name="logfilePath">Path to the MSBuild log file.</param>
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
[Obsolete("Use AddMsBuildBinaryLogFilePath")]
void AddMsBuildBinaryLogFile(FilePath logfilePath, IReadIssuesSettings settings);

/// <summary>
/// Adds a path to a MSBuild binary log file.
/// </summary>
Expand All @@ -145,21 +115,6 @@ public interface IIssuesParametersInputFiles
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
void AddMsBuildBinaryLogFileContent(byte[] logfileContent, IReadIssuesSettings settings);

/// <summary>
/// Adds a path to a InspectCode log file.
/// </summary>
/// <param name="logfilePath">Path to the InspectCode log file.</param>
[Obsolete("Use AddInspectCodeLogFilePath")]
void AddInspectCodeLogFile(FilePath logfilePath);

/// <summary>
/// Adds a path to a InspectCode log file.
/// </summary>
/// <param name="logfilePath">Path to the InspectCode log file.</param>
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
[Obsolete("Use AddInspectCodeLogFilePath")]
void AddInspectCodeLogFile(FilePath logfilePath, IReadIssuesSettings settings);

/// <summary>
/// Adds a path to a InspectCode log file.
/// </summary>
Expand All @@ -174,21 +129,6 @@ public interface IIssuesParametersInputFiles
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
void AddInspectCodeLogFileContent(byte[] logfileContent, IReadIssuesSettings settings);

/// <summary>
/// Adds a path to a markdownlint-cli log file.
/// </summary>
/// <param name="logfilePath">Path to the markdownlint-cli log file.</param>
[Obsolete("Use AddMarkdownlintCliLogFilePath")]
void AddMarkdownlintCliLogFile(FilePath logfilePath);

/// <summary>
/// Adds a path to a markdownlint-cli log file.
/// </summary>
/// <param name="logfilePath">Path to the markdownlint-cli log file.</param>
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
[Obsolete("Use AddMarkdownlintCliLogFilePath")]
void AddMarkdownlintCliLogFile(FilePath logfilePath, IReadIssuesSettings settings);

/// <summary>
/// Adds a path to a markdownlint-cli log file.
/// </summary>
Expand All @@ -203,21 +143,6 @@ public interface IIssuesParametersInputFiles
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
void AddMarkdownlintCliLogFileContent(byte[] logfileContent, IReadIssuesSettings settings);

/// <summary>
/// Adds a path to a markdownlint-cli log file created with <c>--json</c>.
/// </summary>
/// <param name="logfilePath">Path to the markdownlint-cli log file.</param>
[Obsolete("Use AddMarkdownlintCliJsonLogFilePath")]
void AddMarkdownlintCliJsonLogFile(FilePath logfilePath);

/// <summary>
/// Adds a path to a markdownlint-cli log file created with <c>--json</c>.
/// </summary>
/// <param name="logfilePath">Path to the markdownlint-cli log file.</param>
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
[Obsolete("Use AddMarkdownlintCliJsonLogFilePath")]
void AddMarkdownlintCliJsonLogFile(FilePath logfilePath, IReadIssuesSettings settings);

/// <summary>
/// Adds a path to a markdownlint-cli log file created with <c>--json</c>.
/// </summary>
Expand All @@ -232,21 +157,6 @@ public interface IIssuesParametersInputFiles
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
void AddMarkdownlintCliJsonLogFileContent(byte[] logfileContent, IReadIssuesSettings settings);

/// <summary>
/// Adds a path to a markdownlint log file in version 1.
/// </summary>
/// <param name="logfilePath">Path to the markdownlint log file.</param>
[Obsolete("Use AddMarkdownlintV1LogFilePath")]
void AddMarkdownlintV1LogFile(FilePath logfilePath);

/// <summary>
/// Adds a path to a markdownlint log file in version 1.
/// </summary>
/// <param name="logfilePath">Path to the markdownlint log file.</param>
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
[Obsolete("Use AddMarkdownlintV1LogFilePath")]
void AddMarkdownlintV1LogFile(FilePath logfilePath, IReadIssuesSettings settings);

/// <summary>
/// Adds a path to a markdownlint log file in version 1.
/// </summary>
Expand All @@ -261,21 +171,6 @@ public interface IIssuesParametersInputFiles
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
void AddMarkdownlintV1LogFileContent(byte[] logfileContent, IReadIssuesSettings settings);

/// <summary>
/// Adds a path to a ESLint log file in JSON format.
/// </summary>
/// <param name="logfilePath">Path to the ESLint log file.</param>
[Obsolete("Use AddEsLintJsonLogFilePath")]
void AddEsLintJsonLogFile(FilePath logfilePath);

/// <summary>
/// Adds a path to a ESLint log file in JSON format.
/// </summary>
/// <param name="logfilePath">Path to the ESLint log file.</param>
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
[Obsolete("Use AddEsLintJsonLogFilePath")]
void AddEsLintJsonLogFile(FilePath logfilePath, IReadIssuesSettings settings);

/// <summary>
/// Adds a path to a ESLint log file in JSON format.
/// </summary>
Expand All @@ -290,21 +185,6 @@ public interface IIssuesParametersInputFiles
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
void AddEsLintJsonLogFileContent(byte[] logfileContent, IReadIssuesSettings settings);

/// <summary>
/// Adds a path to a log file in SARIF format.
/// </summary>
/// <param name="logfilePath">Path to the SARIF log file.</param>
[Obsolete("Use AddSarifLogFilePath")]
void AddSarifLogFile(FilePath logfilePath);

/// <summary>
/// Adds a path to a log file in SARIF format.
/// </summary>
/// <param name="logfilePath">Path to the SARIF log file.</param>
/// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
[Obsolete("Use AddSarifLogFilePath")]
void AddSarifLogFile(FilePath logfilePath, IReadIssuesSettings settings);

/// <summary>
/// Adds a path to a log file in SARIF format.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,6 @@ public class IssuesParametersInputFiles : IIssuesParametersInputFiles
/// <inheritdoc />
public IDictionary<byte[], IReadIssuesSettings> SarifLogFileContent { get; } = new Dictionary<byte[], IReadIssuesSettings>();

/// <inheritdoc />
public void AddMsBuildXmlFileLoggerLogFile(FilePath logfilePath)
{
this.AddMsBuildXmlFileLoggerLogFilePath(logfilePath);
}

/// <inheritdoc />
public void AddMsBuildXmlFileLoggerLogFile(FilePath logfilePath, IReadIssuesSettings settings)
{
this.AddMsBuildXmlFileLoggerLogFilePath(logfilePath, settings);
}

/// <inheritdoc />
public void AddMsBuildXmlFileLoggerLogFilePath(FilePath logfilePath, IReadIssuesSettings settings)
{
Expand All @@ -83,18 +71,6 @@ public void AddMsBuildXmlFileLoggerLogFileContent(byte[] logfileContent, IReadIs
this.MsBuildXmlFileLoggerLogFileContent.Add(logfileContent, settings);
}

/// <inheritdoc />
public void AddMsBuildBinaryLogFile(FilePath logfilePath)
{
this.AddMsBuildBinaryLogFilePath(logfilePath);
}

/// <inheritdoc />
public void AddMsBuildBinaryLogFile(FilePath logfilePath, IReadIssuesSettings settings)
{
this.AddMsBuildBinaryLogFilePath(logfilePath, settings);
}

/// <inheritdoc />
public void AddMsBuildBinaryLogFilePath(FilePath logfilePath, IReadIssuesSettings settings)
{
Expand All @@ -111,18 +87,6 @@ public void AddMsBuildBinaryLogFileContent(byte[] logfileContent, IReadIssuesSet
this.MsBuildBinaryLogFileContent.Add(logfileContent, settings);
}

/// <inheritdoc />
public void AddInspectCodeLogFile(FilePath logfilePath)
{
this.AddInspectCodeLogFilePath(logfilePath);
}

/// <inheritdoc />
public void AddInspectCodeLogFile(FilePath logfilePath, IReadIssuesSettings settings)
{
this.AddInspectCodeLogFilePath(logfilePath, settings);
}

/// <inheritdoc />
public void AddInspectCodeLogFilePath(FilePath logfilePath, IReadIssuesSettings settings)
{
Expand All @@ -139,18 +103,6 @@ public void AddInspectCodeLogFileContent(byte[] logfileContent, IReadIssuesSetti
this.InspectCodeLogFileContent.Add(logfileContent, settings);
}

/// <inheritdoc />
public void AddMarkdownlintCliLogFile(FilePath logfilePath)
{
this.AddMarkdownlintCliLogFilePath(logfilePath);
}

/// <inheritdoc />
public void AddMarkdownlintCliLogFile(FilePath logfilePath, IReadIssuesSettings settings)
{
this.AddMarkdownlintCliLogFilePath(logfilePath, settings);
}

/// <inheritdoc />
public void AddMarkdownlintCliLogFilePath(FilePath logfilePath, IReadIssuesSettings settings)
{
Expand All @@ -167,18 +119,6 @@ public void AddMarkdownlintCliLogFileContent(byte[] logfileContent, IReadIssuesS
this.MarkdownlintCliLogFileContent.Add(logfileContent, settings);
}

/// <inheritdoc />
public void AddMarkdownlintCliJsonLogFile(FilePath logfilePath)
{
this.AddMarkdownlintCliJsonLogFilePath(logfilePath, null);
}

/// <inheritdoc />
public void AddMarkdownlintCliJsonLogFile(FilePath logfilePath, IReadIssuesSettings settings)
{
this.AddMarkdownlintCliJsonLogFilePath(logfilePath, settings);
}

/// <inheritdoc />
public void AddMarkdownlintCliJsonLogFilePath(FilePath logfilePath, IReadIssuesSettings settings)
{
Expand All @@ -195,18 +135,6 @@ public void AddMarkdownlintCliJsonLogFileContent(byte[] logfileContent, IReadIss
this.MarkdownlintCliJsonLogFileContent.Add(logfileContent, settings);
}

/// <inheritdoc />
public void AddMarkdownlintV1LogFile(FilePath logfilePath)
{
this.AddMarkdownlintV1LogFilePath(logfilePath);
}

/// <inheritdoc />
public void AddMarkdownlintV1LogFile(FilePath logfilePath, IReadIssuesSettings settings)
{
this.AddMarkdownlintV1LogFilePath(logfilePath, settings);
}

/// <inheritdoc />
public void AddMarkdownlintV1LogFilePath(FilePath logfilePath, IReadIssuesSettings settings)
{
Expand All @@ -223,18 +151,6 @@ public void AddMarkdownlintV1LogFileContent(byte[] logfileContent, IReadIssuesSe
this.MarkdownlintV1LogFileContent.Add(logfileContent, settings);
}

/// <inheritdoc />
public void AddEsLintJsonLogFile(FilePath logfilePath)
{
this.AddEsLintJsonLogFilePath(logfilePath);
}

/// <inheritdoc />
public void AddEsLintJsonLogFile(FilePath logfilePath, IReadIssuesSettings settings)
{
this.AddEsLintJsonLogFilePath(logfilePath, settings);
}

/// <inheritdoc />
public void AddEsLintJsonLogFilePath(FilePath logfilePath, IReadIssuesSettings settings)
{
Expand All @@ -251,18 +167,6 @@ public void AddEsLintJsonLogFileContent(byte[] logfileContent, IReadIssuesSettin
this.EsLintJsonLogFileContent.Add(logfileContent, settings);
}

/// <inheritdoc />
public void AddSarifLogFile(FilePath logfilePath)
{
this.AddSarifLogFilePath(logfilePath);
}

/// <inheritdoc />
public void AddSarifLogFile(FilePath logfilePath, IReadIssuesSettings settings)
{
this.AddSarifLogFilePath(logfilePath, settings);
}

/// <inheritdoc />
public void AddSarifLogFilePath(FilePath logfilePath, IReadIssuesSettings settings)
{
Expand Down
Loading

0 comments on commit 8c995ec

Please sign in to comment.