_application.AppControl += OnAppControl;
_application.MainLoop();
-
- DisposeQueue.Instance.ProcessDisposables();
_application.Dispose();
}
{
Log.Info("NUI", "NUICorebackend OnRegionChanged Called");
var handler = Handlers[EventType.RegionFormatChanged] as Action<RegionFormatChangedEventArgs>;
- handler?.Invoke( new RegionFormatChangedEventArgs(e.Application.GetRegion()));
+ handler?.Invoke( new RegionFormatChangedEventArgs((source as Application)?.GetRegion()));
}
/// <summary>
{
Log.Info("NUI", "NUICorebackend OnLanguageChanged Called");
var handler = Handlers[EventType.LocaleChanged] as Action<LocaleChangedEventArgs>;
- handler?.Invoke( new LocaleChangedEventArgs(e.Application.GetLanguage()));
+ handler?.Invoke( new LocaleChangedEventArgs((source as Application)?.GetLanguage()));
}
/// <summary>