public DefaultActionBindingContextProvider(IModelMetadataProvider modelMetadataProvider, ICompositeModelBinder compositeModelBinder, ICompositeValueProviderFactory compositeValueProviderFactory, IInputFormatterProvider inputFormatterProvider, IEnumerable<IModelValidatorProvider> validatorProviders) { _modelMetadataProvider = modelMetadataProvider; _compositeModelBinder = compositeModelBinder; _compositeValueProviderFactory = compositeValueProviderFactory; _inputFormatterProvider = inputFormatterProvider; _validatorProviders = validatorProviders; }
public DefaultActionBindingContextProvider(IModelMetadataProvider modelMetadataProvider, ICompositeModelBinder compositeModelBinder, ICompositeValueProviderFactory compositeValueProviderFactory, IInputFormatterProvider inputFormatterProvider, IEnumerable <IModelValidatorProvider> validatorProviders) { _modelMetadataProvider = modelMetadataProvider; _compositeModelBinder = compositeModelBinder; _compositeValueProviderFactory = compositeValueProviderFactory; _inputFormatterProvider = inputFormatterProvider; _validatorProviders = validatorProviders; }
public ActionBindingContext(ActionContext context, IModelMetadataProvider metadataProvider, IModelBinder modelBinder, IValueProvider valueProvider, IInputFormatterProvider inputFormatterProvider, IEnumerable <IModelValidatorProvider> validatorProviders) { ActionContext = context; MetadataProvider = metadataProvider; ModelBinder = modelBinder; ValueProvider = valueProvider; InputFormatterProvider = inputFormatterProvider; ValidatorProviders = validatorProviders; }