public void RegisterServices([NotNull] Container container) { // ReSharper disable once ConditionIsAlwaysTrueOrFalse // ReSharper disable once HeuristicUnreachableCode if (container == null) { return; } if (Everything64Api.IsInstalled()) { container.Collection.Append(typeof(ISearchProviderFactory), typeof(EverythingFileSearchFactory)); } }
public string[] FindFilesIncludingSubdirectories(string rootPath, string mask) { return(Everything64Api.Search($"\"{rootPath}\" {mask}").ToArray()); }