public static DirectoryBrowserOptions GetFileSystemDirectoryBrowserOptions(this IConfiguration configuration) { if (configuration == null) { throw new ArgumentNullException(nameof(configuration)); } // only supported impl is for LocalFileSystem return(LocalFileSystem.GetDirectoryBrowserOptions(GetProperties(configuration))); }