FileSet Class
Namespace: Rebex.IO
Assembly: Rebex.Common.dll (version 7.0.9147)
Set of inclusion and exclusion patterns.
It doesn't depend on the order how the inclusion and exclusion patterns are added into the File
Syntax
public class FileSet
Inherited Members
Constructors
Name | Description |
---|---|
File |
Initializes a new instance of the File |
File |
Initializes a new instance of the File |
File |
Initializes a new instance of the File |
File |
Initializes a new instance of the File |
File |
Initializes the File |
File |
Initializes the File |
Properties
Name | Description |
---|---|
Base |
Gets or sets the base path of the set. |
Containing |
Gets or sets a value indicating whether a consumer of the File |
Empty |
Gets or sets a value indicating whether a consumer of the File |
Flatten | Gets or sets a value indicating whether a consumer of the File |
Is |
Gets or sets a value indicating whether the File |
Methods
Name | Description |
---|---|
Exclude(String) | Adds a path or mask into collection of exclusion patterns. The supported wildcards are '?' and '*' and '**'. For detailed specification with examples see the documentation. |
Exclude(String, Traversal |
Adds a path or mask into collection of exclusion patterns. The supported wildcards are '?' and '*' and '**'. For detailed specification with examples see the documentation. |
Get |
Gets a collection of local file system items (files and directories) which matches this File |
Include(String) | Adds a path or mask into collection of inclusion patterns. The supported wildcards are '?' and '*' and '**'. For detailed specification with examples see the documentation. |
Include(String, Traversal |
Adds a path or mask into collection of inclusion patterns. The supported wildcards are '?' and '*' and '**'. For detailed specification with examples see the documentation. |
Is |
Returns a value indicating whether the specified relative path matches the File |