コード例 #1
0
 public void FuncNullExceptionTest()
 {
     Assert.Throws <FuncNullException>(() => lazy = LazyFactory <string> .CreateLazySingleThreaded(null));
 }
コード例 #2
0
 public void Setup()
 {
     func = () => "test 123";
     lazy = LazyFactory <string> .CreateLazySingleThreaded(func);
 }