Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    CompilerContext Class

    Namespace: Stride.Core.Assets.Compiler
    Assembly: Stride.Core.Assets.dll

    The context used when compiling an asset in a Package.

    System.Object → CompilerContext
    Derived from CompilerContext: AssetCompilerContext

    public class CompilerContext : IDisposable
    Name Description
    Constructors
    CompilerContext()

    Initializes a new instance of the CompilerContext class.

    Properties
    OptionProperties

    Properties passed on the command line.

    Properties

    Gets the attributes attached to this context.

    Methods
    Clone()
    Dispose()
    | Improve this Doc View Source

    Constructors


    CompilerContext()

    Initializes a new instance of the CompilerContext class.

    public CompilerContext()
    | Improve this Doc View Source

    Properties


    OptionProperties

    Properties passed on the command line.

    public Dictionary<string, string> OptionProperties { get; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.String>

    Properties

    Gets the attributes attached to this context.

    public PropertyCollection Properties { get; }
    Property Value
    Type Description
    PropertyCollection

    The attributes.

    | Improve this Doc View Source

    Methods


    Clone()

    public CompilerContext Clone()
    Returns
    Type Description
    CompilerContext

    Dispose()

    public void Dispose()

    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