Moving model binders from DI to MvcOptions

Initial draft. Unit tests will come in later reviews.

cc @harshgMSFT @davidfowl 
Now it is. In iteration 1 it was 

-----Original Message-----
From: "David Fowler" <notifications@github.com>
Sent: ‎6/‎19/‎2014 8:09 AM
To: "aspnet/Mvc" <Mvc@noreply.github.com>
Cc: "Yishai Galatzer" <yishai_galatzer@yahoo.com>
Subject: Re: [Mvc] Moving model binders from DI to MvcOptions (#677)

In src/Microsoft.AspNet.Mvc.ModelBinding/Metadata/ModelBinderDescriptor.cs:
> @@ -0,0 +1,47 @@
> +﻿// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
> +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
> +
> +using System;
> +using Microsoft.Framework.DependencyInjection;
> +
> +namespace Microsoft.AspNet.Mvc.ModelBinding
> +{
> +    /// <summary>
> +    /// Encapsulates information that describes an <see cref="IModelBinder"/>.
> +    /// </summary>
> +    public class ModelBinderDescriptor
This is just like a ServiceDescriptor, how is this a provider?
—
Reply to this email directly or view it on GitHub.