static public void Configure <TModel, TView, TModelValue, TViewValue>( this IBindingBuilder <TModel, TView, TModelValue> binding, Expression <Func <TView, TModelValue> > viewGetterExpression) where TModelValue : IConfigurator <TViewValue> { binding.To(viewGetterExpression, new ConfiguratorInjection()); }
/// <inheritdoc/> public void Resolve(Type service, IBindingBuilder builder) { var serviceInstanceType = GetServiceInstanceType(service); if (serviceInstanceType != null) { builder.To(serviceInstanceType); } }