YamlAliases.

DeserializeYaml<T>(ICakeContext, string) Method

Summary

Deserializes the YAML from a string.
Assembly
Cake.Yaml.dll
Namespace
Cake.Yaml
Containing Type
YamlAliases

Syntax

public static T DeserializeYaml<T>(this ICakeContext context, string yaml)

Attributes

Type Description
CakeMethodAliasAttribute

Type Parameters

Name Description
T The type to deserialize to.

Parameters

Name Type Description
context ICakeContext The context.
yaml string The YAML string.

Return Value

Type Description
T The Deserialized Object.