Example #1
0
        public static object _Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream)
        {
            PlayerGrainState result = new PlayerGrainState();

            result.DeserializeFrom(stream);
            return(result);
        }
Example #2
0
        public static object _Copier(object original)
        {
            PlayerGrainState input = ((PlayerGrainState)(original));

            return(input.DeepCopy());
        }
Example #3
0
        public static void _Serializer(object original, global::Orleans.Serialization.BinaryTokenStreamWriter stream, System.Type expected)
        {
            PlayerGrainState input = ((PlayerGrainState)(original));

            input.SerializeTo(stream);
        }
 public static object _Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream)
 {
     PlayerGrainState result = new PlayerGrainState();
     result.DeserializeFrom(stream);
     return result;
 }