If you use NuGet to import MvvmLight, this ViewModelLocator class will be created automatically, and the class constructor will have this ServiceLocator.
確定! 回上一頁