Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    ImportStreamCommand Class

    Namespace: Stride.Core.Assets.Compiler
    Assembly: Stride.Core.Assets.dll
    System.Object → Stride.Core.BuildEngine.Command → Stride.Core.BuildEngine.IndexFileCommand → Stride.Core.BuildEngine.SingleFileImportCommand → ImportStreamCommand
    Derived from ImportStreamCommand:

    public sealed class ImportStreamCommand : SingleFileImportCommand
    Name Description
    Constructors
    ImportStreamCommand()
    ImportStreamCommand(UFile, UFile)
    Properties
    DisableCompression
    SaveSourcePath
    Title
    Methods
    DoCommandOverride(ICommandContext)
    ToString()
    | Improve this Doc View Source

    Constructors


    ImportStreamCommand()

    public ImportStreamCommand()

    ImportStreamCommand(UFile, UFile)

    public ImportStreamCommand(UFile location, UFile sourcePath)
    Parameters
    Type Name Description
    Stride.Core.IO.UFile location
    Stride.Core.IO.UFile sourcePath
    | Improve this Doc View Source

    Properties


    DisableCompression

    public bool DisableCompression { get; set; }
    Property Value
    Type Description
    System.Boolean

    SaveSourcePath

    public bool SaveSourcePath { get; set; }
    Property Value
    Type Description
    System.Boolean

    Title

    public override string Title { get; }
    Property Value
    Type Description
    System.String
    Overrides
    Stride.Core.BuildEngine.Command.Title
    | Improve this Doc View Source

    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)

    ToString()

    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    Stride.Core.BuildEngine.Command.ToString()

    Inherited Members

    Stride.Core.BuildEngine.SingleFileImportCommand.Version
    Stride.Core.BuildEngine.SingleFileImportCommand.SourcePath
    Stride.Core.BuildEngine.SingleFileImportCommand.Location
    Stride.Core.BuildEngine.SingleFileImportCommand.GetInputFiles()
    Stride.Core.BuildEngine.SingleFileImportCommand.ComputeParameterHash(Stride.Core.Serialization.BinarySerializationWriter)
    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.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)

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation