Skip to content

Reflection-free ViewLocator #48

@timunie

Description

@timunie

Topics to cover

Add reflection free ViewLocator sample

Ideas for a sample

Add:

            return data switch
            {
                FirstPageViewModel => new FirstPageView(),
                SecondPageViewModel => new SecondPageView(),
                _ => new TextBlock {Text = "Not Found: " + data.GetType().Name}
            };
  • I'll send a pull request with a proposal for a sample

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions