Exemple #1
0
        public static string GetGrainTypeName(this IPlacementRuntime @this, int typeCode, string genericArguments = null)
        {
            string            grainClass;
            PlacementStrategy unused;

            @this.GetGrainTypeInfo(typeCode, out grainClass, out unused, genericArguments);
            return(grainClass);
        }
Exemple #2
0
        public static PlacementStrategy GetGrainPlacementStrategy(this IPlacementRuntime @this, int typeCode, string genericArguments = null)
        {
            string            unused;
            PlacementStrategy placement;

            @this.GetGrainTypeInfo(typeCode, out unused, out placement, genericArguments);
            return(placement);
        }
Exemple #3
0
        public static PlacementStrategy GetGrainPlacementStrategy(this IPlacementRuntime @this, int typeCode, string genericArguments = null)
        {
            string            unused;
            PlacementStrategy placement;
            MultiClusterRegistrationStrategy unusedActivationStrategy;

            @this.GetGrainTypeInfo(typeCode, out unused, out placement, out unusedActivationStrategy, genericArguments);
            return(placement);
        }
Exemple #4
0
 public static void GetGrainTypeInfo(this IPlacementRuntime @this, GrainId grainId, out string grainClass, out PlacementStrategy placement, string genericArguments = null)
 {
     @this.GetGrainTypeInfo(grainId.TypeCode, out grainClass, out placement, genericArguments);
 }
Exemple #5
0
 public static void GetGrainTypeInfo(this IPlacementRuntime @this, GrainId grainId, out string grainClass, out PlacementStrategy placement, out MultiClusterRegistrationStrategy activationStrategy, string genericArguments = null)
 {
     @this.GetGrainTypeInfo(grainId.TypeCode, out grainClass, out placement, out activationStrategy, genericArguments);
 }