コード例 #1
0
 public Builder WithSolutionFor(string methodName, Func <List <JToken>, object> userImplementation)
 {
     deployProcessingRules
     .On(methodName)
     .Call(userImplementation)
     .Build();
     return(this);
 }
コード例 #2
0
            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);
            }