C# Class Microsoft.AspNetCore.SignalR.Messaging.Subscription

Inheritance: ISubscription, IDisposable
Afficher le fichier Open project: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript

Private Properties

Свойство Type Description
AddEventCore bool
Invoke Task
PerformWork void
Work Task

Méthodes publiques

Méthode Description
AddEvent ( string key, Topic topic ) : bool
Dispose ( ) : void
Invoke ( MessageResult result ) : Task
RemoveEvent ( string key ) : void
SetEventTopic ( string key, Topic topic ) : void
SetQueued ( ) : bool
UnsetQueued ( ) : bool
WriteCursor ( TextWriter textWriter ) : void

Méthodes protégées

Méthode Description
BeforeInvoke ( object state ) : void
Dispose ( bool disposing ) : void
Subscription ( string identity, IList eventKeys, Func callback, int maxMessages, IPerformanceCounterManager counters, object state ) : System

Private Methods

Méthode Description
AddEventCore ( string key ) : bool
Invoke ( MessageResult result, object>.Action beforeInvoke, object state ) : Task
PerformWork ( IList items, int &totalCount, object &state ) : void
Work ( ) : Task

Method Details

AddEvent() public méthode

public AddEvent ( string key, Topic topic ) : bool
key string
topic Topic
Résultat bool

BeforeInvoke() protected méthode

protected BeforeInvoke ( object state ) : void
state object
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Invoke() public méthode

public Invoke ( MessageResult result ) : Task
result MessageResult
Résultat Task

RemoveEvent() public méthode

public RemoveEvent ( string key ) : void
key string
Résultat void

SetEventTopic() public méthode

public SetEventTopic ( string key, Topic topic ) : void
key string
topic Topic
Résultat void

SetQueued() public méthode

public SetQueued ( ) : bool
Résultat bool

Subscription() protected méthode

protected Subscription ( string identity, IList eventKeys, Func callback, int maxMessages, IPerformanceCounterManager counters, object state ) : System
identity string
eventKeys IList
callback Func
maxMessages int
counters IPerformanceCounterManager
state object
Résultat System

UnsetQueued() public méthode

public UnsetQueued ( ) : bool
Résultat bool

WriteCursor() public abstract méthode

public abstract WriteCursor ( TextWriter textWriter ) : void
textWriter System.IO.TextWriter
Résultat void