Skip to content

Instantly share code, notes, and snippets.

View valdisiljuconoks's full-sized avatar
🤘
rock & roll

valdis iljuconoks valdisiljuconoks

🤘
rock & roll
View GitHub Profile
[InitializableModule]
[ModuleDependency(typeof(ServiceContainerInitialization))] // used to override default provider
public class CustomProviderBasedLocalizationService : ProviderBasedLocalizationService, IConfigurableModule
{
private static LocalizationService _localizationService;
public CustomProviderBasedLocalizationService() : this(null) { }
public CustomProviderBasedLocalizationService(ResourceKeyHandler keyHandler) : base(keyHandler) { }