C# Class OSharp.Autofac.SignalR.LifetimeHub

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

Public Methods

Method Description
JoinGroup ( string groupName ) : System.Threading.Tasks.Task

加入当前集线器的组

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

离开当前集线器的组

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

JoinGroup() public method

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

LeaveGroup() public method

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