Пример #1
0
 internal GrainClassData(int grainTypeCode, string grainClass, bool isGeneric, GrainInterfaceMap.GrainInterfaceData interfaceData, PlacementStrategy placement, MultiClusterRegistrationStrategy registrationStrategy)
 {
     GrainTypeCode             = grainTypeCode;
     GrainClass                = grainClass;
     this.isGeneric            = isGeneric;
     this.interfaceData        = interfaceData;
     genericClassNames         = new Dictionary <string, string>(); // TODO: initialize only for generic classes
     placementStrategy         = placement;
     this.registrationStrategy = registrationStrategy;
 }
Пример #2
0
 internal GrainClassData(int grainTypeCode, string grainClass, bool isGeneric, GrainInterfaceMap.GrainInterfaceData interfaceData, PlacementStrategy placement, MultiClusterRegistrationStrategy registrationStrategy)
 {
     GrainTypeCode = grainTypeCode;
     GrainClass = grainClass;
     this.isGeneric = isGeneric;
     this.interfaceData = interfaceData;
     genericClassNames = new Dictionary<string, string>(); // TODO: initialize only for generic classes
     placementStrategy = placement ?? PlacementStrategy.GetDefault();
     this.registrationStrategy = registrationStrategy ?? MultiClusterRegistrationStrategy.GetDefault();
 }