Class UserUpdateResponseSerializer
Serializer for user update responses.
Implements
Inherited Members
Namespace: TehGM.Wolfringo.Messages.Serialization
Assembly: Wolfringo.Core.dll
Syntax
public class UserUpdateResponseSerializer : DefaultResponseSerializer, IResponseSerializer
Remarks
This special serializer populates response's WolfUser entity with the properties.
Methods
| Improve this Doc View SourceDeserialize(Type, SerializedMessageData)
Deserialize a server response.
Declaration
public override IWolfResponse Deserialize(Type responseType, SerializedMessageData responseData)
Parameters
Type | Name | Description |
---|---|---|
Type | responseType | Type of the response to deserialize into. |
SerializedMessageData | responseData | Serialized response data. |
Returns
Type | Description |
---|---|
IWolfResponse | Deserialized response. |
Overrides
| Improve this Doc View SourceThrowIfInvalidType(Type)
Throws if response type is not supported by this serializer.
Declaration
protected override void ThrowIfInvalidType(Type responseType)
Parameters
Type | Name | Description |
---|---|---|
Type | responseType | Type of the response. |