public static void WriteToFile(Params texParams, string path) { Serialization.WriteObjectToFile <Params>(path, texParams, Serialization.Format.Binary); }
public static Params ReadFromFile(string path) { return(Serialization.ReadObjectFromFile <Params>(path)); }