C# Класс CarDeliveryNetwork.Api.Data.DeviceRegistration

DeviceRegistration
Наследование: IApiEntity
Показать файл Открыть проект

Открытые методы

Метод Описание
FromString ( string serializedObject ) : DeviceRegistration

Reads the JSON document and returns the deserialized object.

FromString ( string serializedObject, MessageFormat format ) : DeviceRegistration

Reads the JSON or XML document and returns the deserialized object.

ToString ( ) : string

Returns a serial representation of the object in JSON format.

ToString ( MessageFormat format ) : string

Returns a serial representation of the object in the specified format.

Описание методов

FromString() публичный статический Метод

Reads the JSON document and returns the deserialized object.
public static FromString ( string serializedObject ) : DeviceRegistration
serializedObject string The JSON serialized object.
Результат DeviceRegistration

FromString() публичный статический Метод

Reads the JSON or XML document and returns the deserialized object.
public static FromString ( string serializedObject, MessageFormat format ) : DeviceRegistration
serializedObject string The serialized object.
format MessageFormat The format of the serialized object.
Результат DeviceRegistration

ToString() публичный Метод

Returns a serial representation of the object in JSON format.
public ToString ( ) : string
Результат string

ToString() публичный Метод

Returns a serial representation of the object in the specified format.
public ToString ( MessageFormat format ) : string
format MessageFormat Format to serialize to.
Результат string