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

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

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

            return(input.DeepCopy());
        }