public BusinessCodeFiniteStateMachine( ICommandSerializer commandSerializer, IBusinessCodeConfigManager businessCodeConfigManager, IBusinessCodeCache businessCodeCache) { _commandSerializer = commandSerializer; _businessCodeConfigManager = businessCodeConfigManager; _businessCodeCache = businessCodeCache; }
public HttpRpcServer(INode node, IBusinessCodeCache businessCodeCache, IBusinessCodeConfigManager businessCodeConfigManager, ILoggerFactory loggerFactory) { _node = node; _logger = loggerFactory.CreateLogger("HttpRpcServer"); _businessCodeCache = businessCodeCache; _businessCodeConfigManager = businessCodeConfigManager; _jsonSerializerSettings = new JsonSerializerSettings() { TypeNameHandling = TypeNameHandling.All }; }