Aliases.

SerializeIssuesToJsonFile(ICakeContext, IEnumerable<IIssue>, FilePath) Method

Summary

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

Syntax

public static void SerializeIssuesToJsonFile(this ICakeContext context, IEnumerable<IIssue> issues, FilePath filePath)

Examples

Serializes a list of issues to a JSON file:

SerializeIssuesToJsonFile(@"c:\issues.json");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
issues IEnumerable<IIssue> Issues which should be serialized.
filePath FilePath Path to the file.

Return Value

Type Description
void