예제 #1
0
 public LazyTests()
 {
     Assembly
     .GetAssembly(typeof(LazyTests))
     .GetTypes()
     .SelectMany(x => new Type[] {
         x,
         typeof(IReadOnlyList <>).MakeGenericType(x),
         typeof(List <>).MakeGenericType(x),
         typeof(LinkedList <>).MakeGenericType(x),
         typeof(IReadOnlyList <>).MakeGenericType(x)
     })
     .Select(x => LazyEquality.EnsureInitialized(x));
 }