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

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

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

            return(input.DeepCopy());
        }