5 instantiations of ValueProviderResult
System.Web (5)
ModelBinding\CookieValueProvider.cs (1)
84
return new
ValueProviderResult
(value, value, valueProvider._culture);
ModelBinding\DictionaryValueProvider`1.cs (1)
24
_values[entry.Key] = new
ValueProviderResult
(rawValue, attemptedValue, culture);
ModelBinding\ElementalValueProvider.cs (1)
35
? new
ValueProviderResult
(RawValue, Convert.ToString(RawValue, Culture), Culture)
ModelBinding\NameValueCollectionValueProvider.cs (1)
82
return new
ValueProviderResult
(rawValue, attemptedValue, valueProvider._culture);
ModelBinding\SimpleValueProvider.cs (1)
45
return new
ValueProviderResult
(rawValue, attemptedValue, _cultureInfo);
42 references to ValueProviderResult
System.Web (42)
ModelBinding\BinaryDataModelBinderProvider.cs (1)
29
ValueProviderResult
vpResult = bindingContext.UnvalidatedValueProvider.GetValue(bindingContext.ModelName);
ModelBinding\CollectionModelBinder`1.cs (2)
11
ValueProviderResult
vpResultIndex = bindingContext.UnvalidatedValueProvider.GetValue(indexPropertyName);
60
ValueProviderResult
vpResult = bindingContext.UnvalidatedValueProvider.GetValue(bindingContext.ModelName, skipValidation: !bindingContext.ValidateRequest);
ModelBinding\CollectionModelBinderUtil.cs (1)
53
public static IEnumerable<string> GetIndexNamesFromValueProviderResult(
ValueProviderResult
vpResultIndex) {
ModelBinding\CookieValueProvider.cs (9)
49
public
ValueProviderResult
GetValue(string key) {
53
public
ValueProviderResult
GetValue(string key, bool skipValidation) {
71
private readonly Func<
ValueProviderResult
> _validatedResultAccessor;
72
private readonly Func<
ValueProviderResult
> _unvalidatedResultAccessor;
73
private
ValueProviderResult
_validatedResult;
74
private
ValueProviderResult
_unvalidatedResult;
81
private static
ValueProviderResult
GetResultFromCollection(string key, CookieValueProvider valueProvider, bool useValidatedCollection) {
88
public
ValueProviderResult
ValidatedResult {
92
public
ValueProviderResult
UnvalidatedResult {
ModelBinding\DictionaryValueProvider`1.cs (4)
9
private readonly Dictionary<string,
ValueProviderResult
> _values = new Dictionary<string,
ValueProviderResult
>(StringComparer.OrdinalIgnoreCase);
36
public virtual
ValueProviderResult
GetValue(string key) {
41
ValueProviderResult
vpResult;
ModelBinding\ElementalValueProvider.cs (1)
33
public
ValueProviderResult
GetValue(string key) {
ModelBinding\IUnvalidatedValueProvider.cs (1)
5
ValueProviderResult
GetValue(string key, bool skipValidation);
ModelBinding\IValueProvider.cs (1)
5
ValueProviderResult
GetValue(string key);
ModelBinding\ModelBindingContext.cs (2)
154
public
ValueProviderResult
GetValue(string key, bool skipValidation) {
163
public
ValueProviderResult
GetValue(string key) {
ModelBinding\ModelState.cs (1)
9
public
ValueProviderResult
Value {
ModelBinding\ModelStateDictionary.cs (1)
143
public void SetModelValue(string key,
ValueProviderResult
value) {
ModelBinding\NameValueCollectionValueProvider.cs (9)
46
public virtual
ValueProviderResult
GetValue(string key) {
50
public virtual
ValueProviderResult
GetValue(string key, bool skipValidation) {
68
private readonly Func<
ValueProviderResult
> _validatedResultAccessor;
69
private readonly Func<
ValueProviderResult
> _unvalidatedResultAccessor;
70
private
ValueProviderResult
_validatedResult;
71
private
ValueProviderResult
_unvalidatedResult;
78
private static
ValueProviderResult
GetResultFromCollection(string key, NameValueCollectionValueProvider valueProvider, bool useValidatedCollection) {
85
public
ValueProviderResult
ValidatedResult {
89
public
ValueProviderResult
UnvalidatedResult {
ModelBinding\SimpleValueProvider.cs (1)
35
public virtual
ValueProviderResult
GetValue(string key) {
ModelBinding\TypeConverterModelBinder.cs (1)
12
ValueProviderResult
vpResult = bindingContext.UnvalidatedValueProvider.GetValue(bindingContext.ModelName, skipValidation: !bindingContext.ValidateRequest);
ModelBinding\TypeConverterModelBinderProvider.cs (1)
10
ValueProviderResult
vpResult = bindingContext.UnvalidatedValueProvider.GetValue(bindingContext.ModelName, skipValidation: !bindingContext.ValidateRequest);
ModelBinding\TypeMatchModelBinder.cs (3)
6
ValueProviderResult
vpResult = GetCompatibleValueProviderResult(bindingContext);
19
internal static
ValueProviderResult
GetCompatibleValueProviderResult(ModelBindingContext bindingContext) {
22
ValueProviderResult
vpResult = bindingContext.UnvalidatedValueProvider.GetValue(bindingContext.ModelName, skipValidation: !bindingContext.ValidateRequest);
ModelBinding\ValueProviderCollection.cs (3)
20
public virtual
ValueProviderResult
GetValue(string key) {
24
public virtual
ValueProviderResult
GetValue(string key, bool skipValidation) {
31
internal static
ValueProviderResult
GetValueFromProvider(IValueProvider provider, string key, bool skipValidation) {