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