YamlAliases.

DeserializeYamlFromFile<T>(ICakeContext, FilePath, DeserializeYamlSettings) 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, DeserializeYamlSettings settings)

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

Return Value

Type Description
T The Deserialized Object.