public string DoSomething(string someText, ThePluginImplementationOfTheRequest theRequest) { // since we're able to use the request object as the plugin's strongly type version // we can call methods on it directly. Tests.Set(someText); return(theRequest.CallBackToTheHost("You should see: some text.")); }
public string DoSomething(string someText, ThePluginImplementationOfTheRequest theRequest) { // since we're able to use the request object as the plugin's strongly type version // we can call methods on it directly. Tests.Set("BadImplementationwithHandlerCalled"); Console.WriteLine("We get into the call, but we're going to throw."); throw new Exception("ha ha"); }
public string DoSomething(string someText, ThePluginImplementationOfTheRequest theRequest) { // since we're able to use the request object as the plugin's strongly type version // we can call methods on it directly. Tests.Set(someText); return theRequest.CallBackToTheHost("You should see: some text."); }