Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Moving IModelValidatorProvider to Options #1055

Closed
wants to merge 1 commit into from
Closed

Moving IModelValidatorProvider to Options #1055

wants to merge 1 commit into from

Conversation

pranavkm
Copy link
Contributor

Fixes #879

/// Provides an activated collection of <see cref="IModelValidatorProvider"/> instances.
/// </summary>
public interface IModelValidatorProviderProvider
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

really?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ICanHasProvideValidatorProviders, ICanProvideModelValidatorProviders, IProvideAndApparentlyActivateModelValidatorProviders, ...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's sort of inline with the IValueProviderFactoryProvider. Not saying that one's a very inspired type name to start with

@yishaigalatzer
Copy link
Contributor

:shipit: but lets better the providerprovider thingie first

@@ -93,6 +93,12 @@ public RazorViewEngineOptions ViewEngineOptions
public List<ModelBinderDescriptor> ModelBinders { get; private set; }

/// <summary>
/// Get a list of the <see cref="IModelValidatorProvider" /> used by this application.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: add an 's' -> <see cref="IModelValidatorProvider" />s

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@pranavkm pranavkm closed this Aug 26, 2014
@pranavkm pranavkm deleted the 879 branch August 26, 2014 18:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants