Object Extensions

  • AreAllObjectsOfType - Checks if all passed in Objects are of the specified type and returns a Boolean.
    • public static Boolean AreAllObjectsOfType<T>(this Object source, params Object[] targets)
    • Useful for quickly telling if a list of objects all match the specified type parameter.

Last edited Oct 26, 2011 at 1:03 AM by cchamberlain, version 2

Comments

No comments yet.