Nucleus .Net Core CMS

ModelBinding.InterfaceModelBinder Interface

Namespace: Nucleus.ViewFeatures.ModelBinding
Assembly: Nucleus.ViewFeatures.dll
Model binder for interface implementations. This implementation works with ModelBinding.InterfaceBinderProvider<T0> to bind to the appropriate concrete implementation of an interface. The interface type and type name key are specifed in the constructor for ModelBinding.InterfaceBinderProvider<T0>
InterfaceModelBinder (String typeNameItemKey, Type binders)
Initializes a new instance of the ModelBinding.InterfaceModelBinder class.
Parameters
Name Type
typeNameItemKey String
binders System.Collections.Generic.Dictionary<System.Type
BindModelAsync (Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext)