Aliases.

SerializeIssuesToJsonString(ICakeContext, IEnumerable<IIssue>) Method

Summary

Serializes an IEnumerable<T> to a JSON string.
Assembly
Cake.Issues.dll
Namespace
Cake.Issues
Containing Type
Aliases

Syntax

public static string SerializeIssuesToJsonString(this ICakeContext context, IEnumerable<IIssue> issues)

Examples

Serializes a list of issues to a JSON string:

var jsonString =
        SerializeIssuesToJsonString(issues);

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
issues IEnumerable<IIssue> Issues which should be serialized.

Return Value

Type Description
string Serialized issues.