public sealed class YamlMappingAn ordered map from scalar keys to nodes.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Ordered, and the order is the schema's. Keys come out in the order the C# record declares them, which is what makes two people editing the same asset produce a diff of the lines they changed rather than of every line.
Keys are strings. YAML permits a mapping, a sequence or a tagged node as a key; the dialect permits none of those, and reading one is an error naming the file rather than a shape the rest of the pipeline has to be defensive about for ever.
Fields and properties (5)
public IReadOnlyList<KeyValuePair<string, YamlNode>> EntriesThe entries, in order.
public YamlCollectionStyle StyleHow it was written.
public int CountHow many entries there are.
public IEnumerable<string> KeysThe keys, in order.
public YamlNode? this[string key]One entry's value.
Methods (4)
public YamlMapping Set(string key, YamlNode value)Adds an entry, or replaces the value of one that is already there.
public bool Remove(string key)Removes an entry.
public bool TryGet(string key, out YamlNode? value)Looks up an entry.
public IEnumerator<KeyValuePair<string, YamlNode>> GetEnumerator()Returns an enumerator that iterates through the collection.
Used by (42, showing 40)
- AssetMetaFileVixen.Core.Yaml
- DockFloatVixen.Ui.Controls.Advanced
- DockGroupNodeVixen.Ui.Controls.Advanced
- DockLayoutVixen.Ui.Controls.Advanced
- DockNodeVixen.Ui.Controls.Advanced
- DockSplitNodeVixen.Ui.Controls.Advanced
- MetaMigrationChainVixen.Core.Yaml
- MetaTestsVixen.Core.Yaml.Tests
- ReadStateVixen.Core.Yaml
- RoundTripTestsVixen.Core.Yaml.Tests
- TargetOverridesVixen.Core.Yaml
- ThemeTokensVixen.Ui.Styling.Utilities
- YamlDialectTestsVixen.Core.Yaml.Tests
- YamlSerializerVixen.Core.Yaml
- YamlWriterVixen.Core.Yaml
- AnimationClipImporterVixen.Editor.Assets
- AssetDatabaseVixen.Editor.Core
- AssetReferenceScanVixen.Editor.Assets
- BudgetTestExtensionVixen.Editor.Assets.Tests
- ClipNotesExtensionVixen.Editor.Assets
- CompositorImporterVixen.Editor.Assets
- EditorApplicationVixen.Editor.App
- ImportPipelineVixen.Editor.Assets
- ImportPipelineTestsVixen.Editor.Assets.Tests
- ImportSettingsDocumentVixen.Editor.AssetEditors
- InProcessImportExecutorVixen.Editor.Assets
- KeyMapVixen.Editor.Ui
- KeyMapPresetVixen.Editor.Ui
- MaterialImporterVixen.Editor.Assets
- NativeFormatImporterVixen.Editor.Assets
- NavMeshImporterVixen.Editor.Assets
- PreparedVixen.Editor.Assets
- ProjectHistoryVixen.Editor.App
- ProjectMarkerVixen.Editor.Core
- SceneImporterVixen.Editor.Assets
- ShapeYamlVixen.Editor.Assets
- StringCatalogVixen.Editor.Ui
- TerrainAssetImporterVixen.Editor.Assets
- TerrainModuleVixen.Editor.Terrain
- ThemeServiceVixen.Editor.Ui