IssueSerializationExtensions Class

Summary

Extensions for serializing an IIssue to the latest serialization format.
Assembly
Cake.Issues.dll
Namespace
Cake.Issues.Serialization
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["IssueSerializationExtensions"] class Type type-node

Syntax

public static class IssueSerializationExtensions

Methods

Name Value Summary
SerializeToJsonFile(IEnumerable<IIssue>, FilePath) void
Serializes an IEnumerable<T> to a JSON file.
static
SerializeToJsonFile(IIssue, FilePath) void
Serializes an IIssue to a JSON file.
static
SerializeToJsonString(IEnumerable<IIssue>) string
Serializes an IEnumerable<T> to a JSON string.
static
SerializeToJsonString(IIssue) string
Serializes an IIssue to a JSON string.
static

Extension Methods

Name Value Summary
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