Skip to content

Documentation correction #259

@ModernRonin

Description

@ModernRonin

Hi,

in the documentation about configuring ViewManager it says:

NamespaceTransformations: this is a dictionary of from -> to substitutions, and allows your Views and ViewModels to live in different namespaces. If your Views live in "Foo.Frontend.Views" and your ViewModels live in "Foo.FrontendLogic.ViewModels", you could add an entry to this dictionary with the key "Foo.Frontend" and the value "Foo.FrontendLogic"

So, basically, that the dictionary entries have the view paths as keys and the viewmodel paths as values.

But I just noticed it's the other way round: for it to work, the key must the path to the viewmodels and the value the path to the views. (Also makes sense as the ViewManager is locating the views for the viewmodels.

Cheers,
MR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions