public REstateMachineFactory( IConnectorFactoryResolver connectorFactoryResolver, IRepositoryContextFactory repositoryContextFactory, DotGraphCartographer cartographer) { _connectorFactoryResolver = connectorFactoryResolver; _repositoryContextFactory = repositoryContextFactory; _cartographer = cartographer; }
public REstateMachine( IConnectorFactoryResolver connectorFactoryResolver, IRepositoryContextFactory repositoryContextFactory, DotGraphCartographer cartographer, string apiKey, string machineId, IDictionary <State, StateConfiguration> stateMappings) { _connectorFactoryResolver = connectorFactoryResolver; _repositoryContextFactory = repositoryContextFactory; _cartographer = cartographer; ApiKey = apiKey; MachineId = machineId; StateMappings = stateMappings; }