static void VerifyService(IViewInjectionManager service) { if (service == null) { throw new ArgumentNullException("service"); } }
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"); }