public Task ProcessReqeust(System.Net.WebSockets.WebSocket webSocket, IContextConnection connection) { Connection = connection; _webSocket = webSocket; _disconnectToken = new CancellationToken(); OnOpen(); Connection.Send(OnSend, this); return(ReceiveAsync(_webSocket, _disconnectToken)); }
public FlowStateToken() { _context = new ContextConnection(); _states = new List <IStateCancellation>(); }
public ParentContextContainerBindCommand(IContextConnection source, AssetReferenceContextContainer parent) { _source = source; _parent = parent; }