public static object _Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream) { MyGrainState result = new MyGrainState(); result.DeserializeFrom(stream); return(result); }
public static object _Copier(object original) { MyGrainState input = ((MyGrainState)(original)); return(input.DeepCopy()); }
public static void _Serializer(object original, global::Orleans.Serialization.BinaryTokenStreamWriter stream, System.Type expected) { MyGrainState input = ((MyGrainState)(original)); input.SerializeTo(stream); }
public static object _Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream) { MyGrainState result = new MyGrainState(); result.DeserializeFrom(stream); return result; }