Skip to main content

XamlFileWatcher Class

Definition​

Assembly:AvaloniaUI.DiagnosticsSupport.HotReload
Package:AvaloniaUI.DiagnosticsSupport.HotReload
public class XamlFileWatcher

Inheritance: object -> XamlFileWatcher

Implements: IDisposable

Constructors​

NameDescription
XamlFileWatcherNo summary available.

XamlFileWatcher Constructor​

public XamlFileWatcher(string projectDirectory, Action<string> onFileChanged)

Parameters​

projectDirectory string

onFileChanged Action<string>

Methods​

NameDescription
DisposeNo summary available.
StartNo summary available.
StopNo summary available.

Dispose Method​

public void Dispose()

Start Method​

public void Start()

Stop Method​

public void Stop()

Properties​

NameDescription
DebounceIntervalNo summary available.
IsWatchingNo summary available.

DebounceInterval Property​

public TimeSpan DebounceInterval { get; set; }

IsWatching Property​

public bool IsWatching { get; set; }