Vixen
02b45cc4
csharp
public enum YamlNamingPolicy

What a key in a document is called, given what the C# member is called.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

One policy, applied everywhere, so that the name in the file is derivable from the name in the source and neither has to be written twice. Doc 08's schema is camelCase — colorSpace, generateMips, maxSize — which is what the default does.

Fields and properties (2)

  • CamelCase

    MaxSize becomes maxSize.

  • Verbatim

    MaxSize stays MaxSize.

Used by (1)

  • YamlSerializerOptionsVixen.Core.Yaml