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
YAML related cake aliases.
In order to use aliases from this addin, you will need to also reference YamlDotNet as an addin. Here is what including Cake.Yaml in your script should look like:
#addin nuget:?package=Cake.Yaml&version=x.y.z
#addin nuget:?package=YamlDotNet&version=11.2.1
- Assembly
- Cake
.Yaml .dll - Namespace
- Cake
.Yaml - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["YamlAliases"]
class Type type-node
Syntax
public static class YamlAliases
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
|
Cake |
Methods
Name | Value | Summary |
---|---|---|
DeserializeYaml |
T |
Deserializes the YAML from a string.
static
|
DeserializeYaml |
T |
Deserializes the YAML from a string.
static
|
Deserialize |
T |
Deserializes the YAML from a file.
static
|
Deserialize |
T |
Deserializes the YAML from a file.
static
|
SerializeYaml |
string |
Serializes an object to a YAML string.
static
|
SerializeYaml |
string |
Serializes an object to a YAML string.
static
|
SerializeYamlToFile |
void |
Serializes an object to a YAML file.
static
|
SerializeYamlToFile |
void |
Serializes an object to a YAML file.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|