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

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

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

            return(input.DeepCopy());
        }