YamlAliases.

DeserializeYaml<T>(ICakeContext, string, DeserializeYamlSettings) 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, DeserializeYamlSettings settings)

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.
settings DeserializeYamlSettings The DeserializeYamlSettings that will be used to build the deserializer.

Return Value

Type Description
T The Deserialized Object.