14 references to ContainsPrefix
Microsoft.AspNetCore.Mvc.Core (5)
ModelBinding\FormFileValueProvider.cs (1)
63
public bool ContainsPrefix(string prefix) => PrefixContainer.
ContainsPrefix
(prefix);
ModelBinding\FormValueProvider.cs (1)
69
return PrefixContainer.
ContainsPrefix
(prefix);
ModelBinding\JQueryValueProvider.cs (1)
63
return PrefixContainer.
ContainsPrefix
(prefix);
ModelBinding\QueryStringValueProvider.cs (1)
62
return PrefixContainer.
ContainsPrefix
(prefix);
ModelBinding\RouteValueProvider.cs (1)
73
return PrefixContainer.
ContainsPrefix
(key);
Microsoft.AspNetCore.Mvc.Core.Test (9)
ModelBinding\PrefixContainerTest.cs (9)
16
var result = container.
ContainsPrefix
(string.Empty);
30
var result = container.
ContainsPrefix
(string.Empty);
48
var result = container.
ContainsPrefix
(prefix);
66
var result = container.
ContainsPrefix
(prefix);
89
var result = container.
ContainsPrefix
(prefix);
107
var result = container.
ContainsPrefix
(prefix);
129
var result = container.
ContainsPrefix
(prefix);
153
var result = container.
ContainsPrefix
("a");
177
var result = container.
ContainsPrefix
("a");