Table of Contents

Class AssetCommand<T>

Namespace
Stride.Core.Assets.Compiler
Assembly
Stride.Core.Assets.dll
public abstract class AssetCommand<T> : AssetCommand

Type Parameters

T
Inheritance
Command
IndexFileCommand
AssetCommand<T>
Derived
Inherited Members
IndexFileCommand.PreCommand(ICommandContext)
IndexFileCommand.PostCommand(ICommandContext, ResultStatus)
Command.CommandCacheVersion
Command.OutputLocation
Command.CancellationToken
Command.DoCommandOverride(ICommandContext)
Command.DoCommand(ICommandContext)
Command.Clone()
Command.GetInputFiles()
Command.InputFilesGetter
Command.ShouldForceExecution()
Command.ShouldSpawnNewProcess()
Command.Cancel()
Command.ComputeInputFilesHash(BinarySerializationWriter, IPrepareContext)
Command.ComputeAssemblyHash(BinarySerializationWriter)

Constructors

AssetCommand(string, T, IAssetFinder)

protected AssetCommand(string url, T parameters, IAssetFinder assetFinder)

Parameters

url string
parameters T
assetFinder IAssetFinder

Fields

AssetFinder

protected readonly IAssetFinder AssetFinder

Field Value

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

int

Properties

Parameters

public T Parameters { get; set; }

Property Value

T

Title

Title (short description) of the command

public override string Title { get; }

Property Value

string

Methods

ComputeParameterHash(BinarySerializationWriter)

protected override void ComputeParameterHash(BinarySerializationWriter writer)

Parameters

writer BinarySerializationWriter

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.