alphaleonis / AlphaFS

AlphaFS is a .NET library providing more complete Win32 file system functionality to the .NET platform than the standard System.IO classes.
http://alphafs.alphaleonis.com/
MIT License
563 stars 99 forks source link

No way to instantiate FileIdBothDirectoryInfo #496

Closed ashelleyPurdue closed 5 years ago

ashelleyPurdue commented 6 years ago

The class FileIdBothDirectoryInfo is exposed to consumers as public, and there's even documentation for it. However, there doesn't appear to be a public constructor, or any other way to get your hands on one. I did a quick "find all references" on the class name, and it looks like no other files in the project use it.

Was this class intended to be used by consumers?

Yomodo commented 6 years ago

Instances of this type can be obtained by using the Alphaleonis.Win32.Filesystem.Directory.EnumerateFileIdBothDirectoryInfo method.