Examples VM Layer Map

Notes Workspace composition contract across C#, Python, TypeScript, and Swift

Dark SVG source uses the VMx architecture palette and keeps arrows behind masked component boxes.

Root composition

  • WorkspaceVM presents a stable language-neutral VM surface even though C# AggregateVM6 is sealed.
  • All four examples therefore wrap composition rather than subclassing the aggregate root directly.
  • The same child responsibilities show up in each host implementation.

Feature coverage

  • NotesViewVM covers paging, filtering, searching, and current selection.
  • NoteFormVM covers FormVM validation, DiscriminatorVM modes, and SearchableState tag suggestions.
  • NotificationsVM and CapabilityActionsVM surface the optional notification and capability-driven UI seams.

Adapter boundary

  • The VM layer stays framework-neutral and view-pure checks enforce that split.
  • Property, command, collection, dialog, and dispatcher adapters bridge each host toolkit to VMx.
  • That separation is why the example portfolio is useful as a documentation reference.