public ActorServiceFactory(
     ActorTypeInformation actorTypeInformation,
     ActorMethodFriendlyNameBuilder methodFriendlyNameBuilder,
     Func <StatefulServiceContext, ActorTypeInformation, ActorService> actorServiceFactory)
 {
     this.actorTypeInformation      = actorTypeInformation;
     this.methodFriendlyNameBuilder = methodFriendlyNameBuilder;
     this.actorServiceFactory       = actorServiceFactory;
 }
コード例 #2
0
        internal void InitializeInternal(ActorMethodFriendlyNameBuilder methodNameBuilder)
        {
            this.methodFriendlyNameBuilder = methodNameBuilder;
#if !DotNetCoreClr
            this.MethodDispatcherMapV1 =
                new Actors.Remoting.V1.Runtime.ActorMethodDispatcherMap(this.ActorTypeInformation);
#endif
            this.MethodDispatcherMapV2 =
                new Actors.Remoting.V2.Runtime.ActorMethodDispatcherMap(this.ActorTypeInformation);
        }
コード例 #3
0
 internal void InitializeInternal(ActorMethodDispatcherMap map, ActorMethodFriendlyNameBuilder methodNameBuilder)
 {
     this.methodDispatcherMap       = map;
     this.methodFriendlyNameBuilder = methodNameBuilder;
 }