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

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

            input.SerializeTo(stream);
        }
Example #3
0
        public static object _Copier(object original)
        {
            HomeAutomationGrainState input = ((HomeAutomationGrainState)(original));

            return(input.DeepCopy());
        }