TemplateGeneratorContext Class
Namespace: Stride.Core.Assets.TemplatesAssembly: Stride.Core.Assets.dll
Context that will be used to run the tempplate generator.
System.Object →
TemplateGeneratorContext
Derived from TemplateGeneratorContext:
public sealed class TemplateGeneratorContext
Name | Description | |
---|---|---|
Constructors | ||
TemplateGeneratorContext(Package) | Initializes a new instance of the TemplateGeneratorContext class. |
|
TemplateGeneratorContext(PackageSession) | Initializes a new instance of the TemplateGeneratorContext class. |
|
Properties | ||
Package | Gets or sets the current package (may be null) |
|
Session | Gets or sets the current session. |
Constructors
TemplateGeneratorContext(Package)
Initializes a new instance of the TemplateGeneratorContext class.
public TemplateGeneratorContext(Package package)
Parameters
Type | Name | Description |
---|---|---|
Package | package | The package. |
TemplateGeneratorContext(PackageSession)
Initializes a new instance of the TemplateGeneratorContext class.
public TemplateGeneratorContext(PackageSession session)
Parameters
Type | Name | Description |
---|---|---|
PackageSession | session | The session. |
Properties
Package
Gets or sets the current package (may be null)
public Package Package { get; }
Property Value
Type | Description |
---|---|
Package | The package. |
Session
Gets or sets the current session.
public PackageSession Session { get; }
Property Value
Type | Description |
---|---|
PackageSession | The session. |