PathSelector Class
Namespace: Stride.Core.Assets.SelectorsAssembly: Stride.Core.Assets.dll
Matches asset depending on their URL, using a gitignore-like format (based on fnmatch()).
Derived from PathSelector:
[DataContract("PathSelector")]
public class PathSelector : AssetSelector
| Name | Description | |
|---|---|---|
| Constructors | ||
| PathSelector() | ||
| Properties | ||
| Paths | Gets or sets the paths (gitignore format). |
|
| Methods | ||
| Select(PackageSession, IContentIndexMap) | ||
Constructors
PathSelector()
public PathSelector()
Properties
Paths
Gets or sets the paths (gitignore format).
public List<string> Paths { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<System.String> | The paths (gitignore format). |
Methods
Select(PackageSession, IContentIndexMap)
public override IEnumerable<string> Select(PackageSession packageSession, IContentIndexMap contentIndexMap)
Parameters
| Type | Name | Description |
|---|---|---|
| PackageSession | packageSession | |
| IContentIndexMap | contentIndexMap |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<System.String> |