Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    TemplateFolder Class

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

    Describes a template folder.

    System.Object → TemplateFolder
    Derived from TemplateFolder:

    [DataContract("TemplateFolder")]
    public sealed class TemplateFolder
    Name Description
    Constructors
    TemplateFolder()

    Initializes a new instance of the TemplateFolder class.

    TemplateFolder(UDirectory)

    Initializes a new instance of the TemplateFolder class.

    Properties
    Exclude

    Gets or sets the exclude pattern to exclude files from package archive.

    Files

    Gets or sets the files.

    Group

    Gets or sets the group (used when building a package archive)

    Path

    Gets or sets the folder relative to the package where templates are available.

    | Improve this Doc View Source

    Constructors


    TemplateFolder()

    Initializes a new instance of the TemplateFolder class.

    public TemplateFolder()

    TemplateFolder(UDirectory)

    Initializes a new instance of the TemplateFolder class.

    public TemplateFolder(UDirectory path)
    Parameters
    Type Name Description
    Stride.Core.IO.UDirectory path

    The path.

    | Improve this Doc View Source

    Properties


    Exclude

    Gets or sets the exclude pattern to exclude files from package archive.

    [DataMember(30)]
    public string Exclude { get; set; }
    Property Value
    Type Description
    System.String

    The exclude.


    Files

    Gets or sets the files.

    [DataMember(40)]
    public List<UFile> Files { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<Stride.Core.IO.UFile>

    The files.


    Group

    Gets or sets the group (used when building a package archive)

    [DataMember(20)]
    [UPath(UPathRelativeTo.None)]
    public UDirectory Group { get; set; }
    Property Value
    Type Description
    Stride.Core.IO.UDirectory

    The group.


    Path

    Gets or sets the folder relative to the package where templates are available.

    [DataMember(10)]
    public UDirectory Path { get; set; }
    Property Value
    Type Description
    Stride.Core.IO.UDirectory

    The path.


    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