Exemplo n.º 1
0
        public static object _Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream)
        {
            RoomGrainState result = new RoomGrainState();

            result.DeserializeFrom(stream);
            return(result);
        }
Exemplo n.º 2
0
        public static object _Copier(object original)
        {
            RoomGrainState input = ((RoomGrainState)(original));

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

            input.SerializeTo(stream);
        }
Exemplo n.º 4
0
 public static object _Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream)
 {
     RoomGrainState result = new RoomGrainState();
     result.DeserializeFrom(stream);
     return result;
 }