コード例 #1
0
 // ReSharper disable once UnusedParameter.Local
 private static void Check(IItemSet <TOuter> items)
 {
     if (!(items.All(i => i is TInner)))
     {
         throw new XbimException("Invalid type for underlying collection");
     }
 }