Vixen
02b45cc4
csharp
public record class MenuDynamic

Lines decided when the menu is built rather than when it is described.

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

Remarks

What the panel list, the layout list and "open recent" are: a set that changes while the editor runs, and one that a static model would have to be rebuilt to follow.

Fields and properties (1)

  • public Func<IEnumerable<string>> CommandIds

    What to show, asked each time the menu is rebuilt.

Methods (1)

  • public MenuDynamic(Func<IEnumerable<string>> CommandIds)

    Lines decided when the menu is built rather than when it is described.

Used by (4)

  • MenuBarTestsVixen.Editor.App.Tests
  • MenuGroupVixen.Editor.Ui
  • MenuPresenterVixen.Editor.Ui
  • OutOfTreePluginTestsVixen.Editor.App.Tests