Table of Contents

Class TemplateGeneratorContext

Namespace
Stride.Core.Assets.Templates
Assembly
Stride.Core.Assets.dll

Context that will be used to run the tempplate generator.

public sealed class TemplateGeneratorContext
Inheritance
object
TemplateGeneratorContext
Extension Methods

Constructors

TemplateGeneratorContext(Package)

Initializes a new instance of the TemplateGeneratorContext class.

public TemplateGeneratorContext(Package package)

Parameters

package Package

The package.

TemplateGeneratorContext(PackageSession)

Initializes a new instance of the TemplateGeneratorContext class.

public TemplateGeneratorContext(PackageSession session)

Parameters

session PackageSession

The session.

Properties

Package

Gets or sets the current package (may be null)

public Package? Package { get; }

Property Value

Package

The package.

Session

Gets or sets the current session.

public PackageSession Session { get; }

Property Value

PackageSession

The session.