static void c_FilteredFileFound(object sender, FileEntryReachedEventArgs e) { if (e.Name == ExcludeFile) { e.Exclude = true; } Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine("{0} {1} file was returned.", e.TimeReached, e.Name); Console.ResetColor(); }
static void c_FilteredDirectoryFound(object sender, FileEntryReachedEventArgs e) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine("{0} {1} direcrory was returned.", e.TimeReached, e.Name); Console.ResetColor(); }
static void c_DirectoryFound(object sender, FileEntryReachedEventArgs e) { Console.WriteLine("{0} {1} directory was found.", e.TimeReached, e.Name); }