GitLabCodeQualityReportWriter Class

Summary

Writes GitLab Code Quality reports.
Assembly
Cake.DotNetOutdated.dll
Namespace
Cake.DotNetOutdated.GitLab
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["GitLabCodeQualityReportWriter"] class Type type-node

Syntax

public sealed class GitLabCodeQualityReportWriter

Constructors

Methods

Name Value Summary
Serialize(IEnumerable<GitLabCodeQualityIssue>) string
Serializes issues to the GitLab Code Quality JSON format.
static
Write(IEnumerable<GitLabCodeQualityIssue>, FilePath) void
Writes a report file (UTF-8 without a byte order mark). An empty list writes [].

Extension Methods

Name Value Summary
Dump<GitLabCodeQualityReportWriter>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GitLabCodeQualityReportWriter>(GitLabCodeQualityReportWriter[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GitLabCodeQualityReportWriter>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<GitLabCodeQualityReportWriter>(string) void
Requires the Cake.Issues addin
ThrowIfNull<GitLabCodeQualityReportWriter>(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<GitLabCodeQualityReportWriter>(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
Requires the Cake.Issues addin