ILogFileFormat<TIssueProvider, TSettings> Interface

Summary

Definition of a log file format for IIssueProvider which support different log file formats.
graph BT Type["ILogFileFormat<TIssueProvider, TSettings>"] class Type type-node Implementing0["BaseEsLintLogFileFormat"]-.->Type click Implementing0 "/api/Cake.Issues.EsLint/BaseEsLintLogFileFormat" Implementing1["BaseLogFileFormat<TIssueProvider, TSettings>"]-.->Type click Implementing1 "/api/Cake.Issues/BaseLogFileFormat_2" Implementing2["BaseMsBuildLogFileFormat"]-.->Type click Implementing2 "/api/Cake.Issues.MsBuild/BaseMsBuildLogFileFormat" Implementing3["BaseMarkdownlintLogFileFormat"]-.->Type click Implementing3 "/api/Cake.Issues.Markdownlint/BaseMarkdownlintLogFileFormat"

Syntax

public interface ILogFileFormat<in TIssueProvider, in TSettings> 
    where TIssueProvider : BaseMultiFormatIssueProvider<in TSettings, in TIssueProvider> where TSettings : BaseMultiFormatIssueProviderSettings<in TIssueProvider, in TSettings>

Type Parameters

Name Description
TIssueProvider Type of the issue provider.
TSettings Type of the settings.

Methods

Name Value Summary
ReadIssues(TIssueProvider, IRepositorySettings, TSettings) IEnumerable<IIssue>
Gets all issues.

Extension Methods

Name Value Summary
Dump<ILogFileFormat<TIssueProvider, TSettings>>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<ILogFileFormat<TIssueProvider, TSettings>>(ILogFileFormat<TIssueProvider, TSettings>[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<ILogFileFormat<TIssueProvider, TSettings>>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<ILogFileFormat<TIssueProvider, TSettings>>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<ILogFileFormat<TIssueProvider, TSettings>>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<ILogFileFormat<TIssueProvider, TSettings>>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin