YamlAliases.

DeserializeYamlFromFile<T>(ICakeContext, FilePath) Method

Summary

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

Syntax

public static T DeserializeYamlFromFile<T>(this ICakeContext context, FilePath filename)

Attributes

Type Description
CakeMethodAliasAttribute

Type Parameters

Name Description
T The type to deserialize to.

Parameters

Name Type Description
context ICakeContext The context.
filename FilePath The YAML filename.

Return Value

Type Description
T The Deserialized Object.