C# Class Microsoft.AspNet.SignalR.Infrastructure.CancellationTokenExtensions.CancellationCallbackWrapper

ファイルを表示 Open project: SignalR/SignalR

Public Methods

Method Description
CancellationCallbackWrapper ( Action callback, object state ) : System
TryInvoke ( ) : void
TrySetInvoked ( ) : bool

Method Details

CancellationCallbackWrapper() public method

public CancellationCallbackWrapper ( Action callback, object state ) : System
callback Action
state object
return System

TryInvoke() public method

public TryInvoke ( ) : void
return void

TrySetInvoked() public method

public TrySetInvoked ( ) : bool
return bool