Пример #1
0
        private void RegisterLanguageService()
        {
            var languageService = new LanguageService();

            ((IServiceContainer)this).AddService(typeof(LanguageService), languageService, true);
        }
Пример #2
0
 private void RegisterLanguageService()
 {
     var languageService = new LanguageService();
     ((IServiceContainer)this).AddService(typeof(LanguageService), languageService, true);
 }