Class ConnectionEventArgs
Event arguments for a connection event.
Inherited Members
Namespace: FubarDev.FtpServer
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
public class ConnectionEventArgs : EventArgs
Constructors
| Improve this Doc View SourceConnectionEventArgs(IFtpConnection)
Initializes a new instance of the ConnectionEventArgs class.
Declaration
public ConnectionEventArgs(IFtpConnection connection)
Parameters
| Type | Name | Description |
|---|---|---|
| IFtpConnection | connection | The connection of the event. |
Properties
| Improve this Doc View SourceAsyncInitFunctions
Gets the list of async init functions.
Declaration
public IEnumerable<ConnectionInitAsyncDelegate> AsyncInitFunctions { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<ConnectionInitAsyncDelegate> |
Connection
Gets the connection for this event.
Declaration
public IFtpConnection Connection { get; }
Property Value
| Type | Description |
|---|---|
| IFtpConnection |
Methods
| Improve this Doc View SourceAddAsyncInit(ConnectionInitAsyncDelegate)
Adds a new async init function.
Declaration
public void AddAsyncInit(ConnectionInitAsyncDelegate asyncInitFunc)
Parameters
| Type | Name | Description |
|---|---|---|
| ConnectionInitAsyncDelegate | asyncInitFunc | The async init function to add. |