예제 #1
0
 internal void AddSpecific <TService>(TService instance)
     where TService : class
 {
     _services.AddSpecific(typeof(TService), static state => state, instance);
 }
예제 #2
0
파일: MauiContext.cs 프로젝트: hevey/maui
 internal void AddSpecific <TService>(TService instance)
     where TService : class
 {
     _services.AddSpecific(typeof(TService), () => instance);
 }