Open chkn opened 3 years ago
Since we have the source generator, we can use it to eliminate the reflection in CustomViewType.
CustomViewType
One possible approach is:
Body
CustomViewAttribute
Since we have the source generator, we can use it to eliminate the reflection in
CustomViewType
.One possible approach is:
CustomViewType
as public API, and refactor it to allow subclassing.CustomViewType
into the user assembly that staticly calls theBody
property.CustomViewAttribute
to the View that points at (2).