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

显示文件 Open project: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript

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