TemplateFolder Class
Namespace: Stride.Core.AssetsAssembly: Stride.Core.Assets.dll
Describes a template folder.
[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.  | 
                          |
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.  | 
                  
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.  |