Esempio n. 1
0
 /// <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);
 }
Esempio n. 2
0
 protected internal void RaiseDirectoryListed(FTPDirectoryListEventArgs e)
 {
     if (this.areEventsEnabled && (this.DirectoryListed != null))
     {
         this.InvokeEventHandler(this.DirectoryListed, this, e);
     }
 }