DevFileSystemWatcher Class

A extended FileSystemWatcher component, that listens to the file system change notifications and raises events when a directory, or file in a directory, changes.

Definition

Namespace: DevCase.Core.IO.FileSystem
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[ToolboxBitmapAttribute(typeof(FileSystemWatcher))]
[IODescriptionAttribute("FileSystemWatcherDesc")]
[DefaultEventAttribute("Changed")]
public class DevFileSystemWatcher : FileSystemWatcher
Inheritance
Object    MarshalByRefObject    Component    FileSystemWatcher    DevFileSystemWatcher

Constructors

DevFileSystemWatcher Initializes a new instance of the DevFileSystemWatcher class.
DevFileSystemWatcher(String) Initializes a new instance of the DevFileSystemWatcher class.
DevFileSystemWatcher(String, String) Initializes a new instance of the DevFileSystemWatcher class.

Properties

Container Gets the IContainer that contains the Component.
(Inherited from Component)
EnableRaisingEvents Gets or sets a value indicating whether the component is enabled.
(Inherited from FileSystemWatcher)
Filter Gets or sets the filter string used to determine what files are monitored in a directory.
(Inherited from FileSystemWatcher)
IncludeSubdirectories Gets or sets a value indicating whether subdirectories within the specified path should be monitored.
(Inherited from FileSystemWatcher)
InternalBufferSize Gets or sets the size (in bytes) of the internal buffer.
(Inherited from FileSystemWatcher)
NotifyFilter Gets or sets the type of changes to watch for.
(Inherited from FileSystemWatcher)
Path Gets or sets the path of the directory to watch.
Site Gets or sets an ISite for the FileSystemWatcher.
(Inherited from FileSystemWatcher)
SynchronizingObject Gets or sets the object used to marshal the event handler calls issued as a result of a directory change.
(Inherited from FileSystemWatcher)

Methods

BeginInit Begins the initialization of a FileSystemWatcher used on a form or used by another component. The initialization occurs at run time.
(Inherited from FileSystemWatcher)
CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Dispose Releases all resources used by the Component.
(Inherited from Component)
EndInit Ends the initialization of a FileSystemWatcher used on a form or used by another component. The initialization occurs at run time.
(Inherited from FileSystemWatcher)
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
GetType Gets the Type of the current instance.
(Inherited from Object)
InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
ToString Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component)
WaitForChanged(WatcherChangeTypes) A synchronous method that returns a structure that contains specific information on the change that occurred, given the type of change you want to monitor.
(Inherited from FileSystemWatcher)
WaitForChanged(WatcherChangeTypes, Int32) A synchronous method that returns a structure that contains specific information on the change that occurred, given the type of change you want to monitor and the time (in milliseconds) to wait before timing out.
(Inherited from FileSystemWatcher)

Events

Changed Occurs when a file or directory in the specified Path is changed.
(Inherited from FileSystemWatcher)
Created Occurs when a file or directory in the specified Path is created.
(Inherited from FileSystemWatcher)
Deleted Occurs when a file or directory in the specified Path is deleted.
(Inherited from FileSystemWatcher)
Disposed Occurs when the component is disposed by a call to the Dispose method.
(Inherited from Component)
Error Occurs when this instance is unable to continue monitoring changes or when the internal buffer overflows.
PathAvailable Occurs when the path specified in Path property becomes available after PathUnavailable event is raised.
PathUnavailable Occurs when the path specified in Path property becomes unavailable.
Renamed Occurs when a file or directory in the specified Path is renamed.
(Inherited from FileSystemWatcher)

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

GetEvent Gets a EventInfo that match the specified event name declared in the source Component.
(Defined by ComponentExtensions)
GetEventHandlers Gets all the delegates associated to the specified event raised by the source Component.
(Defined by ComponentExtensions)
GetEvents Gets all the events declared in the source Component.
(Defined by ComponentExtensions)
GetSubscribedEvents Gets a list of events declared in the source Component that are subscribed to a event-handler.
(Defined by ComponentExtensions)
InvokeUITypeEditorT Invokes the default UITypeEditor to edit the specified property.
(Defined by ComponentExtensions)
InvokeUITypeEditorT Invokes the default UITypeEditor to edit the specified property.
(Defined by ComponentExtensions)
IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)
TryGetEvent Tries to get a EventInfo that match the specified event name declared in the source Component.
(Defined by ComponentExtensions)

See Also

Reference

FileSystemWatcher