public ModuleWithOneDependency(ITestDependency dependency) : base("/1dependency") { Get["/"] = _ => { return(string.Format("Data of dependency: {0}", dependency.GetData())); }; }
public ModuleWithTwoDependencies(ITestDependency dependency, ITestDependency2 dependency2) : base("/2dependencies") { Get["/"] = _ => { return(string.Format("Data of dependencies: {0}, {1}", dependency.GetData(), dependency2.GetData())); }; }
public ModuleWithTwoDependencies(ITestDependency dependency, ITestDependency2 dependency2) : base("/2dependencies") { Get["/"] = _ => { return string.Format("Data of dependencies: {0}, {1}", dependency.GetData(), dependency2.GetData()); }; }
public ModuleWithOneDependency(ITestDependency dependency) : base("/1dependency") { Get["/"] = _ => { return string.Format("Data of dependency: {0}", dependency.GetData()); }; }
protected override SkillResponse GetResponseInternal(Dictionary <string, Slot> slots) { return(Tell(_testDependency.GetData())); }