Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    FileEvent Class

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

    � file event used notified by DirectoryWatcher

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

    public class FileEvent : EventArgs
    Name Description
    Constructors
    FileEvent(FileEventChangeType, String, String)

    Initializes a new instance of the FileEvent class.

    Properties
    ChangeType

    Gets the type of the change.

    FullPath

    Gets the full path.

    Name

    Gets the name.

    | Improve this Doc View Source

    Constructors


    FileEvent(FileEventChangeType, String, String)

    Initializes a new instance of the FileEvent class.

    public FileEvent(FileEventChangeType changeType, string name, string fullPath)
    Parameters
    Type Name Description
    FileEventChangeType changeType

    Type of the change.

    System.String name

    The name.

    System.String fullPath

    The full path.

    | Improve this Doc View Source

    Properties


    ChangeType

    Gets the type of the change.

    public FileEventChangeType ChangeType { get; }
    Property Value
    Type Description
    FileEventChangeType

    The type of the change.


    FullPath

    Gets the full path.

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

    The full path.


    Name

    Gets the name.

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

    The name.


    Inherited Members

    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