Does anyone knows how to workaround the fact Unity Container InjectionConstructor does not have any overload for Func<string>?
this.unityContainer .RegisterType<IService1Client, Service1Client>() .Configure<InjectedMembers>() .ConfigureInjectionFor<Service1Client>(new InjectionConstructor(() => this.unityContainer.Resolve<User>().SelectedDepartment.ApplicationServerUrl.ToString()));
Cheers,