Vixen
02b45cc4
csharp
public sealed class VxInputMapping

A set of key/value pairs, in the order they were written.

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

Remarks

Order is kept because it is the order the emitter writes back, and a document that reorders itself on every save is a diff nobody can review.

Fields and properties (1)

  • public IReadOnlyList<KeyValuePair<string, VxInputNode>> Entries

    The entries, in document order.

Methods (3)

  • public VxInputMapping(int line, IReadOnlyList<KeyValuePair<string, VxInputNode>> entries)

    A set of key/value pairs, in the order they were written.

  • public bool TryGet(string key, out VxInputNode? value)

    Finds an entry by key, case-insensitively.

  • public override string ToString()

    Returns a string that represents the current object.

Used by (3)

  • InputActionAssetReaderVixen.Input
  • ReadStateVixen.Input
  • VxInputReaderTestsVixen.Input.Tests