PackageAnalysis Class
Namespace: Stride.Core.Assets.AnalysisAssembly: Stride.Core.Assets.dll
An analysis to check the validity of a Package, convert Stride.Core.IO.UFile or Stride.Core.IO.UDirectory references to absolute/relative paths, check asset references...etc, change IReference location if location changed.
System.Object →
PackageAnalysis
Derived from PackageAnalysis:
public sealed class PackageAnalysis
Name | Description | |
---|---|---|
Constructors | ||
PackageAnalysis(Package, PackageAnalysisParameters) | ||
Properties | ||
Parameters | Gets the parameters used for this analysis. |
|
Methods | ||
CheckDependencies() | Checks the package. |
|
ProcessAssets() | ||
ProcessPackageUPaths() | Processes the UPaths on package (but not on assets, use ProcessAssets() for this) |
|
Run() | Runs a full analysis on this package. |
|
Run(ILogger) | Runs a full analysis on this package. |
Constructors
PackageAnalysis(Package, PackageAnalysisParameters)
public PackageAnalysis(Package package, PackageAnalysisParameters parameters = null)
Parameters
Type | Name | Description |
---|---|---|
Package | package | |
PackageAnalysisParameters | parameters |
Properties
Parameters
Gets the parameters used for this analysis.
public PackageAnalysisParameters Parameters { get; }
Property Value
Type | Description |
---|---|
PackageAnalysisParameters | The parameters. |
Methods
CheckDependencies()
Checks the package.
public LoggerResult CheckDependencies()
Returns
Type | Description |
---|---|
LoggerResult | LoggerResult. |
ProcessAssets()
public LoggerResult ProcessAssets()
Returns
Type | Description |
---|---|
LoggerResult |
ProcessPackageUPaths()
Processes the UPaths on package (but not on assets, use ProcessAssets() for this)
public void ProcessPackageUPaths()
Run()
Runs a full analysis on this package.
public LoggerResult Run()
Returns
Type | Description |
---|---|
LoggerResult | LoggerResult. |
Run(ILogger)
Runs a full analysis on this package.
public void Run(ILogger log)
Parameters
Type | Name | Description |
---|---|---|
ILogger | log | The log. |