C# Class OSharp.Autofac.SignalR.LifetimeHub

带生命周期作用域的Hub基类
Inheritance: Microsoft.AspNet.SignalR.Hub, ILifetimeHub
Afficher le fichier Open project: i66soft/osharp

Méthodes publiques

Méthode Description
JoinGroup ( string groupName ) : System.Threading.Tasks.Task

加入当前集线器的组

LeaveGroup ( string groupName ) : System.Threading.Tasks.Task

离开当前集线器的组

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

Dispose() protected méthode

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

JoinGroup() public méthode

加入当前集线器的组
public JoinGroup ( string groupName ) : System.Threading.Tasks.Task
groupName string 组名称
Résultat System.Threading.Tasks.Task

LeaveGroup() public méthode

离开当前集线器的组
public LeaveGroup ( string groupName ) : System.Threading.Tasks.Task
groupName string 组名称
Résultat System.Threading.Tasks.Task