private void OnLoaded(object sender, RoutedEventArgs e) { Loaded -= OnLoaded; _holder.Set(ConfigManager.GetService <IStudioEntityRegistry>()); }