Пример #1
0
        public static object _Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream)
        {
            GrainCartState result = new GrainCartState();

            result.DeserializeFrom(stream);
            return(result);
        }
Пример #2
0
        public static void _Serializer(object original, global::Orleans.Serialization.BinaryTokenStreamWriter stream, System.Type expected)
        {
            GrainCartState input = ((GrainCartState)(original));

            input.SerializeTo(stream);
        }
Пример #3
0
        public static object _Copier(object original)
        {
            GrainCartState input = ((GrainCartState)(original));

            return(input.DeepCopy());
        }