Aliases.

SerializeIssueToJsonFile(ICakeContext, IIssue, FilePath) Method

Summary

Serializes an IIssue to a JSON file.
Assembly
Cake.Issues.dll
Namespace
Cake.Issues
Containing Type
Aliases

Syntax

public static void SerializeIssueToJsonFile(this ICakeContext context, IIssue issue, FilePath filePath)

Examples

Serializes an issue to a JSON file:

SerializeIssueToJsonFile(issue, @"c:\issue.json");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
issue IIssue Issue which should be serialized.
filePath FilePath Path to the file.

Return Value

Type Description
void