[Extension()] public static bool ContainsSamePathsThan<T>( ICollection<T> collection1, ICollection<T> collection2 ) where T: class, IPath
Parameters
- collection1
- This collection of paths.
- collection2
- The other collection of paths.
Type Parameters
- T
- The path type, any interface type implementing IPath
Return Value
true if collection2 contains the same set of path than this collection1.
true also, if this collection1 and collection2 are both null.
true also, if this collection1 and collection2 are both empty.