コード例 #1
0
 public BusinessCodeFiniteStateMachine(
     ICommandSerializer commandSerializer,
     IBusinessCodeConfigManager businessCodeConfigManager,
     IBusinessCodeCache businessCodeCache)
 {
     _commandSerializer         = commandSerializer;
     _businessCodeConfigManager = businessCodeConfigManager;
     _businessCodeCache         = businessCodeCache;
 }
コード例 #2
0
 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
     };
 }