Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 2.59 KB

File metadata and controls

33 lines (20 loc) · 2.59 KB

VFSSearchExtensions.WithNameEndingWith(this IEnumerable<IFileNode>, string, bool) Method

Filters files by name ending with specific text.

public static System.Collections.Generic.IEnumerable<Atypical.VirtualFileSystem.Core.Contracts.IFileNode> WithNameEndingWith(this System.Collections.Generic.IEnumerable<Atypical.VirtualFileSystem.Core.Contracts.IFileNode> files, string suffix, bool ignoreCase=true);

Parameters

files System.Collections.Generic.IEnumerable<IFileNode>

The files to filter.

suffix System.String

The suffix to search for.

ignoreCase System.Boolean

Whether to ignore case. Default is true.

Returns

System.Collections.Generic.IEnumerable<IFileNode>
Files with names ending with the specified suffix.