C# Class PRI.ProductivityExtensions.SocketExtensions.Socketable.SocketAwaitable

Inheritance: IAwaitable
显示文件 Open project: peteraritchie/ProductivityExtensions

Public Methods

Method Description
GetAwaiter ( ) : IAwaitable
GetResult ( ) : void
OnCompleted ( System.Action action ) : void
SocketAwaitable ( SocketAsyncEventArgs eventArgs ) : System

Private Methods

Method Description
Reset ( ) : void

Method Details

GetAwaiter() public method

public GetAwaiter ( ) : IAwaitable
return IAwaitable

GetResult() public method

public GetResult ( ) : void
return void

OnCompleted() public method

public OnCompleted ( System.Action action ) : void
action System.Action
return void

SocketAwaitable() public method

public SocketAwaitable ( SocketAsyncEventArgs eventArgs ) : System
eventArgs System.Net.Sockets.SocketAsyncEventArgs
return System