17 lines
660 B
C#
17 lines
660 B
C#
// 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.Collections.Generic;
|
|
|
|
namespace Microsoft.AspNet.Mvc.ModelBinding
|
|
{
|
|
public class MockModelValidatorProviderProvider: IModelValidatorProviderProvider
|
|
{
|
|
public List<IModelValidatorProvider> ModelValidatorProviders { get; } = new List<IModelValidatorProvider>();
|
|
|
|
IReadOnlyList<IModelValidatorProvider> IModelValidatorProviderProvider.ModelValidatorProviders
|
|
{
|
|
get { return ModelValidatorProviders; }
|
|
}
|
|
}
|
|
} |