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

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

                GrainReference.SerializeGrainReference(input, stream, expected);
            }
예제 #4
0
 public static IManagerGrain Cast(IAddressable grainRef)
 {
     return(ManagerGrainReference.Cast(grainRef));
 }