public override IModelBinder GetBinder(HttpConfiguration configuration, Type modelType)
        {
            var overridden = ModelBinderProviderHelpers.GetGenericBinder(
                typeof(IDictionary <,>),
                typeof(Dictionary <,>),
                typeof(DotKeyDictionaryModelBinder <,>),
                modelType);

            return(overridden ?? OriginalProvider.GetBinder(configuration, modelType));
        }
 public static void InjectInto(HttpConfiguration config)
 {
     ModelBinderProviderHelpers.InjectInteadOf <DictionaryModelBinderProvider>(
         config,
         x => new DotKeyDictionaryModelBinderProvider(x));
 }