public RequestExecutionEngine(IRestfulService restService, AgentIdentifier identifier, IRequestVisitor <string> endpointCreator, IRequestVisitor <string> headerTokenCreator, IRequestVisitor <Dictionary <HttpStatusCode, LevelUpRestWrapper.ResponseAction> > customHttpStatusCodeHandlers) { _restWrapper = new LevelUpRestWrapper(restService, identifier); _endpointCreator = endpointCreator; _headerTokenCreator = headerTokenCreator; _customHttpStatusCodeHandlers = customHttpStatusCodeHandlers; }
internal LevelUpClient(IRestfulService restService, AgentIdentifier identifier, LevelUpEnvironment targetEnviornment) { _restWrapper = new LevelUpRestWrapper(restService, identifier); _targetEnviornment = targetEnviornment; }