메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. |
리턴 | bool |