GlobFilter constructor (1 of 2)

namespace: Serenity.IO   assemblySerenity.Net.Core

Creates a new GlobFilter, with just "include" globs.

public GlobFilter(IEnumerable<string> globs)
parameter description
globs List of patterns

See Also


GlobFilter constructor (2 of 2)

namespace: Serenity.IO   assemblySerenity.Net.Core

Creates a new GlobFilter, containing both include and exclude patterns. When "include" is null / empty, all files are included by default, unless they match a pattern in "exclude" list. When "exclude" is null, it is ignored.

public GlobFilter(IEnumerable<string> include, IEnumerable<string> exclude)
parameter description
include List of include patterns
exclude List of exclude patterns

See Also