Caliburn.Micro icon indicating copy to clipboard operation
Caliburn.Micro copied to clipboard

Why cal:View.Context is object and not string?

Open a44281071 opened this issue 2 years ago • 0 comments

MyNamespace.Views.StudentViewModel. locate to: MyNamespace.Views.StudentView. locate with context (Details):
MyNamespace.Views.Student.Details.

It just work with a string 'Details', so why use object type?

A question that was raised a long time ago: It pollutes the name definition. I must def a namespace like 'xxx.Student.xxx'. But I also have a model named 'xxx.Student.cs'. It's weird to reference members. 'Student' is a class, and also is namespace.

a44281071 avatar Nov 14 '23 09:11 a44281071