Class TemplateGeneratorContext
Context that will be used to run the tempplate generator.
public sealed class TemplateGeneratorContext
- Inheritance
-
TemplateGeneratorContext
Constructors
TemplateGeneratorContext(Package)
Initializes a new instance of the TemplateGeneratorContext class.
public TemplateGeneratorContext(Package package)
Parameters
package
PackageThe package.
TemplateGeneratorContext(PackageSession)
Initializes a new instance of the TemplateGeneratorContext class.
public TemplateGeneratorContext(PackageSession session)
Parameters
session
PackageSessionThe 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.