How to Correctly Reference a Method in App.xaml.cs
Hey, reviewer. The
The
How do I correctly reference to a method in App.xaml.cs?
----
ChangeLanguage method should work, but referencing is a challenge at the moment, since I get the error 'App' does not contain a definition for 'ChangeLanguage' and no accessible extension method 'ChangeLanguage' accepting a first argument of type 'App' could be found (are you missing a using directive or an assembly reference?).The
OnLanguageChanged method works until I add that reference for ((App)Application.Current)....How do I correctly reference to a method in App.xaml.cs?
----