public void TestGenericNestedClass() { this.Test(async() => { var t = new GenericNestedClass <string>(); int delay = 12; var result = await t.RunTest("Delay is {0}", delay); var expected = string.Format("Delay is {0}", delay); Specification.Assert(result == expected, "Value is {0} instead of {1}.", result, expected); }); }
/// <summary> /// A documented overloaded method with parameters. /// </summary> public void DocumentedMethod(int x, DocumentedClass c, GenericNestedClass <int> nc) { }