Exemple #1
0
 public static object _Deserializer(System.Type expected, Orleans.Serialization.BinaryTokenStreamReader stream)
 {
     return(ObserveReference.Cast(((Orleans.GrainReference)(GrainReference.DeserializeGrainReference(expected, stream)))));
 }
Exemple #2
0
            public static object _Copier(object original)
            {
                ObserveReference input = ((ObserveReference)(original));

                return((ObserveReference)(GrainReference.CopyGrainReference(input)));
            }
Exemple #3
0
            public static void _Serializer(object original, Orleans.Serialization.BinaryTokenStreamWriter stream, System.Type expected)
            {
                ObserveReference input = ((ObserveReference)(original));

                GrainReference.SerializeGrainReference(input, stream, expected);
            }
Exemple #4
0
 public static IObserve Cast(IAddressable grainRef)
 {
     return(ObserveReference.Cast(grainRef));
 }