示例#1
0
 /// <summary>Raise the <see cref="Connecting"/> event.</summary>
 /// <param name="e">Event arguments.</param>
 protected internal void RaiseConnecting(FTPConnectionEventArgs e)
 {
     if (areEventsEnabled && Connecting != null)
         InvokeEventHandler(Connecting, this, e);
 }
示例#2
0
 protected internal void RaiseConnecting(FTPConnectionEventArgs e)
 {
     if (this.areEventsEnabled && (this.Connecting != null))
     {
         this.InvokeEventHandler(this.Connecting, this, e);
     }
 }