[Extension()] public static bool TryGetCommonRootDirectory( ICollection<IAbsoluteDirectoryPath> collection, out IAbsoluteDirectoryPath commonRootDirectory )
Parameters
- collection
- This collection of directories absolute paths.
- commonRootDirectory
- The common root directory if it has been found.
Return Value
true if a common root directory has been found, else returns false.