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

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

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