Table of Contents

Method Deserialize

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Deserialize<T>(Stream)

Deserializes object from the specified stream.

public static T Deserialize<T>(Stream stream)

Parameters

stream Stream

Stream with xml data.

Returns

T

Type Parameters

T

Type of the deserialized object.

Deserialize<T>(string)

Deserializes object from the specified file without throwing exceptions.

public static T? Deserialize<T>(string filename)

Parameters

filename string

Path to file with xml data.

Returns

T

Type Parameters

T

Type of the deserialized object.