Show / Hide Table of Contents

Class FileWatcher

Inheritance
System.Object
FileWatcher
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AttackSurfaceAnalyzer.Utils
Assembly: AsaLib.dll
Syntax
public class FileWatcher : IDisposable

Constructors

| Improve this Doc View Source

FileWatcher()

Declaration
public FileWatcher()
| Improve this Doc View Source

FileWatcher(String)

Declaration
public FileWatcher(string DirectoryName)
Parameters
Type Name Description
System.String DirectoryName
| Improve this Doc View Source

FileWatcher(String, Action<EventArgs>, Action<EventArgs>, Action<EventArgs>, Action<EventArgs>)

Declaration
public FileWatcher(string DirectoryName, Action<EventArgs> OnChangedAction, Action<EventArgs> OnCreatedAction, Action<EventArgs> OnDeletedAction, Action<EventArgs> OnRenamedAction)
Parameters
Type Name Description
System.String DirectoryName
System.Action<System.EventArgs> OnChangedAction
System.Action<System.EventArgs> OnCreatedAction
System.Action<System.EventArgs> OnDeletedAction
System.Action<System.EventArgs> OnRenamedAction
| Improve this Doc View Source

FileWatcher(String, Action<EventArgs>, Action<EventArgs>, Action<EventArgs>, Action<EventArgs>, NotifyFilters, Boolean)

Declaration
public FileWatcher(string DirectoryName, Action<EventArgs> OnChangedAction, Action<EventArgs> OnCreatedAction, Action<EventArgs> OnDeletedAction, Action<EventArgs> OnRenamedAction, NotifyFilters NotifyFilters, bool IncludeSubdirectories)
Parameters
Type Name Description
System.String DirectoryName
System.Action<System.EventArgs> OnChangedAction
System.Action<System.EventArgs> OnCreatedAction
System.Action<System.EventArgs> OnDeletedAction
System.Action<System.EventArgs> OnRenamedAction
System.IO.NotifyFilters NotifyFilters
System.Boolean IncludeSubdirectories

Properties

| Improve this Doc View Source

EventList

Declaration
public List<EventArgs> EventList { get; }
Property Value
Type Description
System.Collections.Generic.List<System.EventArgs>

Methods

| Improve this Doc View Source

Dispose()

Declaration
public void Dispose()
| Improve this Doc View Source

Dispose(Boolean)

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing
| Improve this Doc View Source

IsRunning()

Declaration
public bool IsRunning()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Start()

Declaration
public void Start()
| Improve this Doc View Source

Stop()

Declaration
public void Stop()

Implements

System.IDisposable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX