public ChatEngineFramework() { Amazon.AWSConfigs.AWSRegion = "us-east-1"; Amazon.AWSConfigs.AWSProfileName = ""; ChatConfiguration chatConfiguration = new ChatConfiguration(); AWSDynamoService dataService = new AWSDynamoService(chatConfiguration); FlowStepProvider flowStepProvider = new FlowStepProvider(dataService); chatEngine = new ChatWeb.Services.ChatEngine(null, chatConfiguration, null, dataService, null, null, null, null, null, null, null, null, flowStepProvider); }
public ChatScriptManagerTests() { var chatModel = new ChatModel(); ChatConfiguration config = new ChatConfiguration(); AWSDynamoService awsDynamoService = new AWSDynamoService(config); FlowStepProvider flowStepProvider = new FlowStepProvider(awsDynamoService); var chatEngine = new ChatEngine(null, config, null, awsDynamoService, null, null, null, null, null, null, null, null, flowStepProvider); scriptManager = new ChatScriptManager(chatModel, awsDynamoService, config); scriptManager.Initialize().Wait(); }