public class ModelStateDictionary extends NetObjectEnumerable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.ModelBinding.ModelStateDictionary
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Web
|
static java.lang.String |
className
Qualified class name: System.Web.ModelBinding.ModelStateDictionary
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
ModelStateDictionary() |
ModelStateDictionary(ModelStateDictionary dictionary) |
ModelStateDictionary(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Add(java.lang.String key,
ModelState value) |
void |
AddModelError(java.lang.String key,
NetException exception) |
void |
AddModelError(java.lang.String key,
java.lang.String errorMessage) |
static ModelStateDictionary |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ModelStateDictionary, a cast assert is made to check if types are compatible. |
void |
Clear() |
boolean |
ContainsKey(java.lang.String key) |
int |
getCount() |
boolean |
getIsReadOnly() |
boolean |
getIsValid() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
boolean |
IsValidField(java.lang.String key) |
void |
Merge(ModelStateDictionary dictionary) |
boolean |
Remove(java.lang.String key) |
void |
setJCOInstance(JCObject instance) |
void |
SetModelValue(java.lang.String key,
ValueProviderResult value) |
boolean |
TryGetValue(java.lang.String key,
JCORefOut<ModelState> value) |
GetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ModelStateDictionary()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic ModelStateDictionary(ModelStateDictionary dictionary) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionpublic ModelStateDictionary(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void Add(java.lang.String key,
ModelState value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionpublic void AddModelError(java.lang.String key,
NetException exception)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionNotSupportedExceptionpublic void AddModelError(java.lang.String key,
java.lang.String errorMessage)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionNotSupportedExceptionpublic static ModelStateDictionary cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ModelStateDictionary, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedModelStateDictionary instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable
java.lang.Throwablepublic boolean ContainsKey(java.lang.String key)
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic int getCount()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsReadOnly()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsValid()
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectEnumerableString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectEnumerableString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectEnumerableObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectEnumerableString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectEnumerableJCType representing the CLR Type of the instantiated Classpublic boolean IsValidField(java.lang.String key)
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic void Merge(ModelStateDictionary dictionary) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionpublic boolean Remove(java.lang.String key)
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectEnumerablepublic void SetModelValue(java.lang.String key,
ValueProviderResult value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionpublic boolean TryGetValue(java.lang.String key,
JCORefOut<ModelState> value)
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullException