Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    TemplateGeneratorContext Class

    Namespace: Stride.Core.Assets.Templates
    Assembly: 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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.


    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation