/// <summary>Raise the <see cref="DirectoryListing"/> event.</summary> /// <param name="e">Event arguments.</param> protected internal void RaiseDirectoryListing(FTPDirectoryListEventArgs e) { if (areEventsEnabled && DirectoryListing != null) InvokeEventHandler(DirectoryListing, this, e); }
protected internal void RaiseDirectoryListed(FTPDirectoryListEventArgs e) { if (this.areEventsEnabled && (this.DirectoryListed != null)) { this.InvokeEventHandler(this.DirectoryListed, this, e); } }