Dev2.InterfaceImplementors.FileSystemQuery.QueryList C# (CSharp) Method

QueryList() public method

public QueryList ( string searchPath ) : void
searchPath string
return void
        public void QueryList(string searchPath)
        {
            var directorySeparatorChar = Path.DirectorySeparatorChar;

            var queryCollection = new List<string>();
            queryCollection = (searchPath ?? string.Empty).Length <= 1
                              ? new List<string>(Directory.GetLogicalDrives())
                              : SearchForFileAndFolders(searchPath, queryCollection, directorySeparatorChar);
            QueryCollection = queryCollection;
        }