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

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

Public Methods

Method Description
SafeRegister ( this cancellationToken, Action callback, object state ) : IDisposable

Private Methods

Method Description
Dispose ( object state ) : void
InvokeCallback ( object state ) : void
ResolveRegisterDelegate ( ) : RegisterDelegate

Method Details

SafeRegister() public static method

public static SafeRegister ( this cancellationToken, Action callback, object state ) : IDisposable
cancellationToken this
callback Action
state object
return IDisposable