예제 #1
0
 public ChatScriptNodeManager(ChatModel chatModel, IExternalDataStorageService externalDataStorageService, IHubContext <NodeJSHub> nodeJsHubContext, INodeServices nodeServices, ChatConfiguration configuration)
 {
     this.ChatScriptHost   = new ChatScriptHost(chatModel, configuration);
     this.DataService      = externalDataStorageService;
     this.nodeJsHubContext = nodeJsHubContext;
     NodeServices          = nodeServices;
 }
예제 #2
0
 public ChatScriptManager(ChatModel chatModel, IExternalDataStorageService externalDataStorageService, ChatConfiguration configuration)
 {
     ScriptHost  = new ChatScriptHost(chatModel, configuration);
     DataService = externalDataStorageService;
     ChatModel   = chatModel;
 }