Class AssetCommand<T>
public abstract class AssetCommand<T> : AssetCommand
Type Parameters
T
- Inheritance
-
CommandIndexFileCommandAssetCommand<T>
- Derived
- Inherited Members
-
IndexFileCommand.PreCommand(ICommandContext)IndexFileCommand.PostCommand(ICommandContext, ResultStatus)Command.CommandCacheVersionCommand.OutputLocationCommand.CancellationTokenCommand.DoCommandOverride(ICommandContext)Command.DoCommand(ICommandContext)Command.Clone()Command.GetInputFiles()Command.InputFilesGetterCommand.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
stringparameters
TassetFinder
IAssetFinder
Fields
AssetFinder
protected readonly IAssetFinder AssetFinder
Field Value
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
Properties
Parameters
public T Parameters { get; set; }
Property Value
- T
Title
Title (short description) of the command
public override string Title { get; }
Property Value
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.