Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    FileVersionManager Class

    Namespace: Stride.Core.Assets
    Assembly: Stride.Core.Assets.dll
    System.Object → FileVersionManager
    Derived from FileVersionManager:

    public class FileVersionManager
    Name Description
    Properties
    Instance
    Methods
    ComputeFileHash(UFile)
    ComputeFileHashAsync(UFile, Action<UFile, ObjectId>, Nullable<CancellationToken>)
    ComputeFileHashAsync(IEnumerable<UFile>, Action<UFile, ObjectId>, Nullable<CancellationToken>)
    Shutdown()
    | Improve this Doc View Source

    Properties


    Instance

    public static FileVersionManager Instance { get; }
    Property Value
    Type Description
    FileVersionManager
    | Improve this Doc View Source

    Methods


    ComputeFileHash(UFile)

    public ObjectId ComputeFileHash(UFile path)
    Parameters
    Type Name Description
    Stride.Core.IO.UFile path
    Returns
    Type Description
    ObjectId

    ComputeFileHashAsync(UFile, Action<UFile, ObjectId>, Nullable<CancellationToken>)

    public void ComputeFileHashAsync(UFile path, Action<UFile, ObjectId> fileHashCallback = null, CancellationToken? cancellationToken = null)
    Parameters
    Type Name Description
    Stride.Core.IO.UFile path
    System.Action<Stride.Core.IO.UFile, ObjectId> fileHashCallback
    System.Nullable<System.Threading.CancellationToken> cancellationToken

    ComputeFileHashAsync(IEnumerable<UFile>, Action<UFile, ObjectId>, Nullable<CancellationToken>)

    public void ComputeFileHashAsync(IEnumerable<UFile> paths, Action<UFile, ObjectId> fileHashCallback = null, CancellationToken? cancellationToken = null)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<Stride.Core.IO.UFile> paths
    System.Action<Stride.Core.IO.UFile, ObjectId> fileHashCallback
    System.Nullable<System.Threading.CancellationToken> cancellationToken

    Shutdown()

    public static void Shutdown()

    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