Request provider

RequestProvider extracts options/preferences from url and posted forms. Each param or each form field provides a value with the same name of the parameter/form field.

Its Prefix must be passed in the constructor, it has no save capabilities, and it is always Enabled.

Below the list of all provider specific properties:


        public string SourcePrefix { get; set; }
        public bool UseForm { get; set; }
        public bool UseParams { get; set; }
        

With:

UseParams
When set data are extracted from the query string
UseForm
When set data are extracted from posted data
SourcePrefix
Prefix all source fields must have, to be processed by the provider. This prefix is removed before each field name is concatenated with Prefix to get the final path in the request dictionary.


Fork me on GitHub