Class YamlNamingPolicy
- Namespace
- Cuemon.Text.Yaml
- Assembly
- Cuemon.Core.dll
Determines the naming policy used to convert a string-based name to another format.
[Obsolete("All YAML marshalling has been moved to its own assembly; Cuemon.Extensions.YamlDotNet. This member will be removed with next major version.")]
public abstract class YamlNamingPolicy
- Inheritance
-
ObjectYamlNamingPolicy
Constructors
YamlNamingPolicy()
Initializes a new instance of the YamlNamingPolicy class.
protected YamlNamingPolicy()
Methods
ConvertName(String)
When overridden in a derived class, converts the specified name according to the policy.
public abstract string ConvertName(string name)
Parameters
name
StringThe name to convert.
Returns
- String
The converted name.