Method | Description | |
---|---|---|
CheckReadOnlyPropertyForDeserialization ( Property property, &container, &value, string &error ) : bool |
Validates a readonly property was correctly deserialized. This can be used this to catch any errors which could fail silently.
|
Method | Description | |
---|---|---|
GetReadOnlyReferenceTypeErrorMessage ( Type type, string propertyName ) : string | ||
GetReadOnlyReferenceTypeWithInvalidTypeErrorMessage ( Type type, string propertyName ) : string | ||
GetReadOnlyValueTypeErrorMessage ( Type type, string propertyName ) : string | ||
IsPropertyExcludedFromSerialization ( IProperty property ) : bool |
Returns
|
public static CheckReadOnlyPropertyForDeserialization ( Property property, &container, &value, string &error ) : bool | ||
property | Property | The property being deserialized. |
container | The container being deserialized. | |
value | The deserialized value from the stream. | |
error | string | When this method returns, contains the error message. If any. |
return | bool |