Class SerializationUtil

Serialization utility.

Inheritance
System.Object
SerializationUtil
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.FileUploader
Assembly: Mediachase.FileUploader.dll
Version: 10.8.0
Syntax
public static class SerializationUtil

Methods

GetObject<T>(String)

Gets the object.

Declaration
public static T GetObject<T>(string Value)
Parameters
Type Name Description
System.String Value

The value.

Returns
Type Description
T
Type Parameters
Name Description
T

GetObjectFromFile<T>(String)

Gets the object from file.

Declaration
public static T GetObjectFromFile<T>(string Path)
Parameters
Type Name Description
System.String Path

The path.

Returns
Type Description
T
Type Parameters
Name Description
T

GetString<T>(T)

Gets the string.

Declaration
public static string GetString<T>(T Value)
Parameters
Type Name Description
T Value

The value.

Returns
Type Description
System.String
Type Parameters
Name Description
T

SaveObjectToFile<T>(String, T)

Gets the file.

Declaration
public static void SaveObjectToFile<T>(string Path, T Value)
Parameters
Type Name Description
System.String Path

The path.

T Value

The value.

Type Parameters
Name Description
T