CompilerContext Class
Namespace: Stride.Core.Assets.CompilerAssembly: 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() | ||
Constructors
CompilerContext()
Initializes a new instance of the CompilerContext class.
public CompilerContext()
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. |
Methods
Clone()
public CompilerContext Clone()
Returns
| Type | Description |
|---|---|
| CompilerContext |
Dispose()
public void Dispose()