Class Environment.Serialization
Inheritance
System.Object
Environment.Serialization
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()
Assembly: Experior.Core.dll
Syntax
public static class Serialization
Methods
Clone<T>(T)
Declaration
public static T Clone<T>(T obj)
Parameters
Type |
Name |
Description |
T |
obj |
|
Returns
Type Parameters
Copy<T>(T)
Declaration
public static T Copy<T>(T obj)
Parameters
Type |
Name |
Description |
T |
obj |
|
Returns
Type Parameters
DeSerialize(Stream, Type, List<Type>)
Declaration
public static object DeSerialize(Stream fs, Type type, List<Type> extraTypes)
Parameters
Type |
Name |
Description |
System.IO.Stream |
fs |
|
System.Type |
type |
|
System.Collections.Generic.List<System.Type> |
extraTypes |
|
Returns
Type |
Description |
System.Object |
|
DeSerialize(Stream, Type, Type[])
Declaration
public static object DeSerialize(Stream stream, Type type, Type[] extraTypes)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
System.Type |
type |
|
System.Type[] |
extraTypes |
|
Returns
Type |
Description |
System.Object |
|
DeSerialize(String, Type)
Declaration
public static object DeSerialize(string filename, Type type)
Parameters
Type |
Name |
Description |
System.String |
filename |
|
System.Type |
type |
|
Returns
Type |
Description |
System.Object |
|
DeSerialize(String, Type, List<Type>)
Declaration
public static object DeSerialize(string filename, Type type, List<Type> extraTypes)
Parameters
Type |
Name |
Description |
System.String |
filename |
|
System.Type |
type |
|
System.Collections.Generic.List<System.Type> |
extraTypes |
|
Returns
Type |
Description |
System.Object |
|
DeSerialize(String, Type, Type[])
Declaration
public static object DeSerialize(string filename, Type type, Type[] extraTypes)
Parameters
Type |
Name |
Description |
System.String |
filename |
|
System.Type |
type |
|
System.Type[] |
extraTypes |
|
Returns
Type |
Description |
System.Object |
|
Serialize(String, Object)
Declaration
public static void Serialize(string filename, object anyobject)
Parameters
Type |
Name |
Description |
System.String |
filename |
|
System.Object |
anyobject |
|
Serialize(String, Object, List<Type>)
Declaration
public static void Serialize(string filename, object anyobject, List<Type> extraTypes)
Parameters
Type |
Name |
Description |
System.String |
filename |
|
System.Object |
anyobject |
|
System.Collections.Generic.List<System.Type> |
extraTypes |
|
Serialize(String, Object, Type[])
Declaration
public static void Serialize(string filename, object anyobject, Type[] extraTypes)
Parameters
Type |
Name |
Description |
System.String |
filename |
|
System.Object |
anyobject |
|
System.Type[] |
extraTypes |
|
Serialize(String, XmlSerializer, Object)
Declaration
public static void Serialize(string filename, XmlSerializer serializer, object anyobject)
Parameters
Type |
Name |
Description |
System.String |
filename |
|
System.Xml.Serialization.XmlSerializer |
serializer |
|
System.Object |
anyobject |
|