コード例 #1
0
        public static object _Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream)
        {
            CustomerGrainState result = new CustomerGrainState();

            result.DeserializeFrom(stream);
            return(result);
        }
コード例 #2
0
        public static object _Copier(object original)
        {
            CustomerGrainState input = ((CustomerGrainState)(original));

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

            input.SerializeTo(stream);
        }
コード例 #4
0
 public static object _Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream)
 {
     CustomerGrainState result = new CustomerGrainState();
     result.DeserializeFrom(stream);
     return result;
 }