C# Class Samples.Server.Services.GroupMembershipService

Inheritance: Drey.Server.Services.IGroupMembershipService
Afficher le fichier Open project: dealproc/Drey

Méthodes publiques

Méthode Description
GroupMembershipService ( IClientRegistry clientRegistry ) : Drey.Server.Infrastructure
Join ( IHubContext hubContext, ClaimsPrincipal principal, string connectionId, System.Threading.Tasks.Task onConnected ) : System.Threading.Tasks.Task
Leave ( IHubContext hubContext, ClaimsPrincipal principal, string connectionId, System.Threading.Tasks.Task onDisconnected ) : System.Threading.Tasks.Task

Method Details

GroupMembershipService() public méthode

public GroupMembershipService ( IClientRegistry clientRegistry ) : Drey.Server.Infrastructure
clientRegistry IClientRegistry
Résultat Drey.Server.Infrastructure

Join() public méthode

public Join ( IHubContext hubContext, ClaimsPrincipal principal, string connectionId, System.Threading.Tasks.Task onConnected ) : System.Threading.Tasks.Task
hubContext IHubContext
principal System.Security.Claims.ClaimsPrincipal
connectionId string
onConnected System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

Leave() public méthode

public Leave ( IHubContext hubContext, ClaimsPrincipal principal, string connectionId, System.Threading.Tasks.Task onDisconnected ) : System.Threading.Tasks.Task
hubContext IHubContext
principal System.Security.Claims.ClaimsPrincipal
connectionId string
onDisconnected System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task