DummyAssetCommand<TAsset, TContent> Class
Namespace: Stride.Core.Assets.CompilerAssembly: Stride.Core.Assets.dll
An AssetCommand that will create a default instance of the content type for a given asset, rather than compiling it.
                 System.Object →  Stride.Core.BuildEngine.Command →  Stride.Core.BuildEngine.IndexFileCommand →  AssetCommand →  AssetCommand<TAsset> →  
                DummyAssetCommand<TAsset, TContent>
              
              
                 Derived from DummyAssetCommand<TAsset, TContent>: 
              
              
              
public class DummyAssetCommand<TAsset, TContent> : AssetCommand<TAsset> where TAsset : Asset where TContent : new()
              Type Parameters
| Name | Description | 
|---|---|
| TAsset | The type of asset for which to generate a default instance of content.  | 
                  
| TContent | The type of content to generate.  | 
                  
| Name | Description | |
|---|---|---|
| Constructors | ||
| DummyAssetCommand(AssetItem) | Initializes a new instance of the DummyAssetCommand<TAsset, TContent> class.  | 
                          |
| Methods | ||
| DoCommandOverride(ICommandContext) | ||
Constructors
DummyAssetCommand(AssetItem)
Initializes a new instance of the DummyAssetCommand<TAsset, TContent> class.
public DummyAssetCommand(AssetItem assetItem)
              Parameters
| Type | Name | Description | 
|---|---|---|
| AssetItem | assetItem | The asset to compile.  | 
                  
Methods
DoCommandOverride(ICommandContext)
protected override Task<ResultStatus> DoCommandOverride(ICommandContext commandContext)
              Parameters
| Type | Name | Description | 
|---|---|---|
| Stride.Core.BuildEngine.ICommandContext | commandContext | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<Stride.Core.BuildEngine.ResultStatus> | 
Overrides
Stride.Core.BuildEngine.Command.DoCommandOverride(Stride.Core.BuildEngine.ICommandContext)
              
              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.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)