AssetCommand<T> Class
Namespace: Stride.Core.Assets.CompilerAssembly: Stride.Core.Assets.dll
System.Object → Stride.Core.BuildEngine.Command → Stride.Core.BuildEngine.IndexFileCommand → AssetCommand →
AssetCommand<T>
Derived from AssetCommand<T>: DummyAssetCommand<TAsset, TContent>
public abstract class AssetCommand<T> : AssetCommand
Type Parameters
| Name | Description |
|---|---|
| T |
| Name | Description | |
|---|---|---|
| Constructors | ||
| AssetCommand(String, T, IAssetFinder) | ||
| Fields | ||
| AssetFinder | ||
| Version | This is useful if the asset binary format has changed and we want to bump the version to force re-evaluation/compilation of the command |
|
| Properties | ||
| Parameters | ||
| Title | ||
| Methods | ||
| ComputeParameterHash(BinarySerializationWriter) | ||
| ToString() | ||
Constructors
AssetCommand(String, T, IAssetFinder)
protected AssetCommand(string url, T parameters, IAssetFinder assetFinder)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | url | |
| T | parameters | |
| IAssetFinder | assetFinder |
Fields
AssetFinder
protected readonly IAssetFinder AssetFinder
Field Value
| Type | Description |
|---|---|
| IAssetFinder |
Version
This is useful if the asset binary format has changed and we want to bump the version to force re-evaluation/compilation of the command
protected int Version
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Properties
Parameters
public T Parameters { get; set; }
Property Value
| Type | Description |
|---|---|
| T |
Title
public override string Title { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Stride.Core.BuildEngine.Command.Title
|
Improve this Doc
View Source
Methods
ComputeParameterHash(BinarySerializationWriter)
protected override void ComputeParameterHash(BinarySerializationWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| BinarySerializationWriter | writer |
Overrides
Stride.Core.BuildEngine.Command.ComputeParameterHash(Stride.Core.Serialization.BinarySerializationWriter)
ToString()
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
Stride.Core.BuildEngine.Command.ToString()
Inherited Members
Stride.Core.BuildEngine.IndexFileCommand.PreCommand(Stride.Core.BuildEngine.ICommandContext)
Stride.Core.BuildEngine.IndexFileCommand.PostCommand(Stride.Core.BuildEngine.ICommandContext, Stride.Core.BuildEngine.ResultStatus)
Stride.Core.BuildEngine.Command.CommandCacheVersion
Stride.Core.BuildEngine.Command.OutputLocation
Stride.Core.BuildEngine.Command.CancellationToken
Stride.Core.BuildEngine.Command.DoCommandOverride(Stride.Core.BuildEngine.ICommandContext)
Stride.Core.BuildEngine.Command.DoCommand(Stride.Core.BuildEngine.ICommandContext)
Stride.Core.BuildEngine.Command.Clone()
Stride.Core.BuildEngine.Command.GetInputFiles()
Stride.Core.BuildEngine.Command.InputFilesGetter
Stride.Core.BuildEngine.Command.ShouldForceExecution()
Stride.Core.BuildEngine.Command.ShouldSpawnNewProcess()
Stride.Core.BuildEngine.Command.Cancel()
Stride.Core.BuildEngine.Command.ComputeInputFilesHash(Stride.Core.Serialization.BinarySerializationWriter, Stride.Core.BuildEngine.IPrepareContext)
Stride.Core.BuildEngine.Command.ComputeCommandHash(System.IO.Stream, Stride.Core.BuildEngine.IPrepareContext)
Stride.Core.BuildEngine.Command.ComputeAssemblyHash(Stride.Core.Serialization.BinarySerializationWriter)