ModelStateDictionary
Enumerator
KeyEnumerable
KeyEnumerator
PrefixEnumerable
ValueEnumerable
ValueEnumerator
DefaultMaxAllowedErrors
ModelStateDictionary()
ModelStateDictionary(Int32)
ModelStateDictionary(ModelStateDictionary)
Count
ErrorCount
HasReachedMaxErrors
IsValid
Keys
MaxAllowedErrors
Root
this[String]
ValidationState
Values
AddModelError(String, String)
AddModelError(String, Exception, ModelMetadata)
Clear()
ClearValidationState(String)
ContainsKey(String)
FindKeysWithPrefix(String)
GetEnumerator()
GetFieldValidationState(String)
GetValidationState(String)
MarkFieldSkipped(String)
MarkFieldValid(String)
Merge(ModelStateDictionary)
Remove(String)
SetModelValue(String, ValueProviderResult)
SetModelValue(String, Object, String)
StartsWithPrefix(String, String)
TryAddModelError(String, String)
TryAddModelError(String, Exception, ModelMetadata)
TryAddModelException(String, Exception)
TryGetValue(String, ModelStateEntry)
AddModelError<TModel>(ModelStateDictionary, Expression<Func<TModel, Object>>, String)
AddModelError<TModel>(ModelStateDictionary, Expression<Func<TModel, Object>>, Exception, ModelMetadata)
Remove<TModel>(ModelStateDictionary, Expression<Func<TModel, Object>>)
RemoveAll<TModel>(ModelStateDictionary, Expression<Func<TModel, Object>>)
TryAddModelException<TModel>(ModelStateDictionary, Expression<Func<TModel, Object>>, Exception)
net6.0
namespace Microsoft.AspNetCore.Mvc.ModelBinding
{
[DefaultMember("Item")]
public class ModelStateDictionary : IEnumerable<KeyValuePair<string!, ModelStateEntry?>>, IReadOnlyCollection<KeyValuePair<string!, ModelStateEntry?>>, IReadOnlyDictionary<string!, ModelStateEntry?>, IEnumerable
{
public int MaxAllowedErrors { get; set; }
}
}
nuget.org | 0.1 %
Reference this API 0.0 %
Get property 0.1 %
Set property |
---|---|
.NET | 5.06.07.08.09.010.0 |
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net6.0 | |
Assembly | Microsoft.AspNetCore.Mvc.Abstractions , Version=6.0.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Requires any:
|
Platform Restrictions | The property getter is supported on all platforms. The property setter is supported on all platforms. |
- Built-in API
- Package-provided API