This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Yaml.
Summary
Serializes an object to a YAML file.
Syntax
public static void SerializeYamlToFile<T>(this ICakeContext context, FilePath filename, T instance)
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Type Parameters
Name |
Description |
T |
The type of object to serialize. |
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
filename |
FilePath |
The filename to serialize to. |
instance |
T |
The object to serialize. |
Return Value