Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/aspnetwebstack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Web.Mvc/ValueProviderFactories.cs')
-rw-r--r--src/System.Web.Mvc/ValueProviderFactories.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/System.Web.Mvc/ValueProviderFactories.cs b/src/System.Web.Mvc/ValueProviderFactories.cs
new file mode 100644
index 00000000..ee98658a
--- /dev/null
+++ b/src/System.Web.Mvc/ValueProviderFactories.cs
@@ -0,0 +1,20 @@
+namespace System.Web.Mvc
+{
+ public static class ValueProviderFactories
+ {
+ private static readonly ValueProviderFactoryCollection _factories = new ValueProviderFactoryCollection()
+ {
+ new ChildActionValueProviderFactory(),
+ new FormValueProviderFactory(),
+ new JsonValueProviderFactory(),
+ new RouteDataValueProviderFactory(),
+ new QueryStringValueProviderFactory(),
+ new HttpFileCollectionValueProviderFactory(),
+ };
+
+ public static ValueProviderFactoryCollection Factories
+ {
+ get { return _factories; }
+ }
+ }
+}