예제 #1
0
        public void OneDriveCase()
        {
            var fq      = new FileQuery();
            var results = fq.ExecuteAsync(@"C:\Users\adamo\OneDrive", "*.pptx").Result;

            Assert.IsTrue(results.Any());
        }
예제 #2
0
        public void VisualStudioCase()
        {
            var fq      = new FileQuery();
            var results = fq.ExecuteAsync(@"C:\Users\adamo\Source\Repos", "*.sln", FileQuery.VisualStudioResult).Result;
            var array   = results.ToArray(); // just to avoid weird debugger complaining

            Assert.IsTrue(array.Any());
        }