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

            result.DeserializeFrom(stream);
            return(result);
        }
 public static object _Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream)
 {
     PersonState result = new PersonState();
     result.DeserializeFrom(stream);
     return result;
 }
Ejemplo n.º 3
0
        public static void _Serializer(object original, global::Orleans.Serialization.BinaryTokenStreamWriter stream, System.Type expected)
        {
            PersonState input = ((PersonState)(original));

            input.SerializeTo(stream);
        }
Ejemplo n.º 4
0
        public static object _Copier(object original)
        {
            PersonState input = ((PersonState)(original));

            return(input.DeepCopy());
        }