I am building a DLL using WPF -MVVM . I have a custom dialog implemented in this DLL using MVVM. I want to make the View class of this dialog internal to the DLL so that anyone referencing this DLL does not have access to this view class. Is there some way to achieve this ? If I just mark the View class as internal , then the compiler isn't happy and says that partial classes have different visibilities. Am not sure if making both parts of the partial class internal is the correct way since these View classes would need to be called by the WPF runtime.
Any help is appreciated.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)