Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    PathSelector Class

    Namespace: Stride.Core.Assets.Selectors
    Assembly: Stride.Core.Assets.dll

    Matches asset depending on their URL, using a gitignore-like format (based on fnmatch()).

    System.Object → AssetSelector → PathSelector
    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)
    | Improve this Doc View Source

    Constructors


    PathSelector()

    public PathSelector()
    | Improve this Doc View Source

    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).

    | Improve this Doc View Source

    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>
    Overrides
    AssetSelector.Select(PackageSession, IContentIndexMap)

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation