Class AssetCommand<T>
public abstract class AssetCommand<T> : AssetCommandType Parameters
- T
- Inheritance
- 
      objectCommandIndexFileCommandAssetCommand<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
- urlstring
- parametersT
- assetFinderIAssetFinder
Fields
AssetFinder
protected readonly IAssetFinder AssetFinderField 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 VersionField 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
- writerBinarySerializationWriter
ToString()
Returns a string that represents the current object.
public override string ToString()Returns
- string
- A string that represents the current object.