public Builder WithSolutionFor(string methodName, Func <List <JToken>, object> userImplementation) { deployProcessingRules .On(methodName) .Call(userImplementation) .Build(); return(this); }
private static ProcessingRules CreateDeployProcessingRules() { var deployProcessingRules = new ProcessingRules(); // Debt - we only need this to consume message from the server deployProcessingRules .On("display_description") .Call(p => "OK") .Build(); return(deployProcessingRules); }