Esempio n. 1
0
 static void VerifyService(IViewInjectionManager service)
 {
     if (service == null)
     {
         throw new ArgumentNullException("service");
     }
 }
Esempio n. 2
0
 public static void Inject(this IViewInjectionManager service, string regionName, object key, Func <object> viewModelFactory, Type viewType)
 {
     VerifyService(service);
     service.Inject(regionName, key, viewModelFactory, null, viewType);
 }
 static void VerifyService(IViewInjectionManager service) {
     if(service == null)
         throw new ArgumentNullException("service");
 }