Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    FileRenameEvent Class

    Namespace: Stride.Core.IO
    Assembly: Stride.Core.IO.dll

    � file rename event used notified by DirectoryWatcher

    System.Object → System.EventArgs → FileEvent → FileRenameEvent
    Derived from FileRenameEvent:

    public class FileRenameEvent : FileEvent
    Name Description
    Constructors
    FileRenameEvent(String, String, String)

    Initializes a new instance of the FileRenameEvent class.

    Properties
    OldFullPath

    Gets the full path. (in case of rename)

    Methods
    ToString()
    | Improve this Doc View Source

    Constructors


    FileRenameEvent(String, String, String)

    Initializes a new instance of the FileRenameEvent class.

    public FileRenameEvent(string name, string fullPath, string oldFullPath)
    Parameters
    Type Name Description
    System.String name

    The name.

    System.String fullPath

    The full path.

    System.String oldFullPath

    The old full path. (before rename)

    | Improve this Doc View Source

    Properties


    OldFullPath

    Gets the full path. (in case of rename)

    public string OldFullPath { get; }
    Property Value
    Type Description
    System.String

    The full path. (in case of rename)

    | Improve this Doc View Source

    Methods


    ToString()

    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Inherited Members

    FileEvent.ChangeType
    FileEvent.Name
    FileEvent.FullPath
    System.EventArgs.Empty

    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