public static AllItemsAreInstancesOfType ( IEnumerable collection, Type expectedType ) : void | ||
collection | IEnumerable | IEnumerable containing objects to be considered |
expectedType | Type | System.Type that all objects in collection must be instances of |
Résultat | void |