Class PackageCompiler
A package assets compiler. Creates the build steps necessary to produce the assets of a package.
public class PackageCompiler : IPackageCompiler
- Inheritance
-
PackageCompiler
- Implements
Constructors
PackageCompiler(IPackageCompilerSource)
public PackageCompiler(IPackageCompilerSource packageCompilerSource)
Parameters
packageCompilerSource
IPackageCompilerSource
Fields
AssetCompiled
Raised when a single asset has been compiled.
public EventHandler<AssetCompiledArgs> AssetCompiled
Field Value
Properties
SdkDirectory
Gets or sets the SDK directory. Default is bound to env variable StrideSdkDir
public static string SdkDirectory { get; set; }
Property Value
- string
The SDK directory.
Methods
Prepare(AssetCompilerContext)
Compile the current package session. That is generate the list of build steps to execute to create the package assets.
public AssetCompilerResult Prepare(AssetCompilerContext compilerContext)
Parameters
compilerContext
AssetCompilerContext