예제 #1
0
        public static object _Deserializer(System.Type expected, global::Orleans.Serialization.BinaryTokenStreamReader stream)
        {
            ServiceGrainBingLocationState result = new ServiceGrainBingLocationState();

            result.DeserializeFrom(stream);
            return(result);
        }
예제 #2
0
        public static void _Serializer(object original, global::Orleans.Serialization.BinaryTokenStreamWriter stream, System.Type expected)
        {
            ServiceGrainBingLocationState input = ((ServiceGrainBingLocationState)(original));

            input.SerializeTo(stream);
        }
예제 #3
0
        public static object _Copier(object original)
        {
            ServiceGrainBingLocationState input = ((ServiceGrainBingLocationState)(original));

            return(input.DeepCopy());
        }