src/Cake.Yaml/YamlAliases.cs
/// <summary>
/// Serializes an object to a YAML file.
/// </summary>
/// <param name="context">The context.</param>
/// <param name="filename">The filename to serialize to.</param>
/// <param name="instance">The object to serialize.</param>
/// <typeparam name="T">The type of object to serialize.</typeparam>
Serializes an object to a YAML file.
Serializes an object to a YAML file .
[CakeMethodAlias]
        public static void SerializeYamlToFile<T>(this ICakeContext context, FilePath filename, T instance)
        {
            SerializeYamlToFile(context, filename, instance, SerializeYamlSettings.Default);
        }
[ CakeMethodAlias ] public static void SerializeYamlToFile < T > ( this ICakeContext context , FilePath filename , T instance ) { SerializeYamlToFile ( context , filename , instance , SerializeYamlSettings . Default ) ; }
Serializes an object to a YAML file.
Serializes an object to a YAML file .
ICakeContext
this
filename
FilePath
The filename to serialize to.
The filename to serialize to .
instance
T
The object to serialize.
The object to serialize .
context
None
typeparam
The type of object to serialize.
The type of object to serialize .