1 instantiation of DefaultCollectionValidationStrategy
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Validation\DefaultCollectionValidationStrategy.cs (1)
48
public static readonly DefaultCollectionValidationStrategy Instance = new
DefaultCollectionValidationStrategy
();
8 references to DefaultCollectionValidationStrategy
Microsoft.AspNetCore.Mvc.Core (5)
ModelBinding\Validation\DefaultCollectionValidationStrategy.cs (3)
42
private static readonly MethodInfo _getEnumerator = typeof(
DefaultCollectionValidationStrategy
)
46
/// Gets an instance of <see cref="
DefaultCollectionValidationStrategy
"/>.
48
public static readonly
DefaultCollectionValidationStrategy
Instance = new DefaultCollectionValidationStrategy();
ModelBinding\Validation\ExplicitIndexCollectionValidationStrategy.cs (1)
54
var enumerator =
DefaultCollectionValidationStrategy
.Instance.GetEnumeratorForElementType(metadata, model);
ModelBinding\Validation\ValidationVisitor.cs (1)
361
return VisitComplexType(
DefaultCollectionValidationStrategy
.Instance);
Microsoft.AspNetCore.Mvc.Core.Test (3)
ModelBinding\Validation\DefaultCollectionValidationStrategyTest.cs (3)
17
var
strategy = DefaultCollectionValidationStrategy.Instance;
57
var
strategy = DefaultCollectionValidationStrategy.Instance;
92
var
strategy = DefaultCollectionValidationStrategy.Instance;