private void OnCreated(object source, FileSystemEventArgs e) { MessageHandlerEvent?.Invoke(this, $"File: {e.FullPath} {e.ChangeType}"); ThereIsFileToHandlingEvent?.Invoke(this, e.Name); }
private void MenageMessage(string message, NameValueCollection query) { MessageHandlerEvent?.Invoke(message); }
private void OnDeleted(object sender, FileSystemEventArgs e) { MessageHandlerEvent?.Invoke(this, $"File: {e.FullPath} {e.ChangeType}"); }