src/Cake.Yaml/YamlAliases.cs
/// <summary>
/// Serializes an object to a YAML string.
/// </summary>
/// <returns>The YAML string.</returns>
/// <param name="context">The context.</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 string.
Serializes an object to a YAML string .
[CakeMethodAlias]
        public static string SerializeYaml<T>(this ICakeContext context, T instance)
        {
            return SerializeYaml(context, instance, SerializeYamlSettings.Default);
        }
[ CakeMethodAlias ] public static string SerializeYaml < T > ( this ICakeContext context , T instance ) { return SerializeYaml ( context , instance , SerializeYamlSettings . Default ) ; }
Serializes an object to a YAML string.
Serializes an object to a YAML string .
The YAML string.
The YAML string .
ICakeContext
this
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 .