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)
netcoreapp2.2
namespace Microsoft.AspNetCore.Mvc.ModelBinding
{
[DefaultMember("Item")]
public class ModelStateDictionary : IEnumerable<KeyValuePair<string, ModelStateEntry>>, IReadOnlyCollection<KeyValuePair<string, ModelStateEntry>>, IReadOnlyDictionary<string, ModelStateEntry>, IEnumerable
{
public ModelStateEntry this[string key] { get; }
}
}
nuget.org | 0.1 %
Reference this API |
---|---|
Upgrade Planner | 0.0 %
Reference this API |
.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 netcoreapp2.2 | |
Assembly | Microsoft.AspNetCore.Mvc.Abstractions , Version=2.2.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API