Esempio n. 1
0
 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);
     });
 }
Esempio n. 2
0
 /// <summary>
 /// A documented overloaded method with parameters.
 /// </summary>
 public void DocumentedMethod(int x, DocumentedClass c, GenericNestedClass <int> nc)
 {
 }