This project is read-only.

Proposal for static method Directory.CountObjects()

Oct 7, 2011 at 4:29 PM

There is already such method, it is called, Directory.GetProperties();

You can test it and give some feedback.

Oct 9, 2011 at 6:46 AM

Because there are many types of file system objects it would be simpler to use either GetProperties or GetFullFileSystemEntries with search options restricted to top level directory only.

As there are already so many enumerating methods that I can't even recall right now, introducing new one in two flavours (regular and transacted) is quite overhead.

I'm finally going to right some documentation with samples. What scenarios would you like to see there?