Méthode | Description | |
---|---|---|
AddAdmin ( JabbR.Models.ChatUser admin, JabbR.Models.ChatUser targetUser ) : void | ||
AddClient ( JabbR.Models.ChatUser user, string clientId, string userAgent ) : JabbR.Models.ChatClient | ||
AddMessage ( JabbR.Models.ChatUser user, JabbR.Models.ChatRoom room, string id, string content ) : |
||
AddOwner ( JabbR.Models.ChatUser ownerOrCreator, JabbR.Models.ChatUser targetUser, JabbR.Models.ChatRoom targetRoom ) : void | ||
AddRoom ( JabbR.Models.ChatUser user, string name ) : JabbR.Models.ChatRoom | ||
AllowUser ( JabbR.Models.ChatUser user, JabbR.Models.ChatUser targetUser, JabbR.Models.ChatRoom targetRoom ) : void | ||
AppendMessage ( string id, string content ) : void | ||
BanUser ( JabbR.Models.ChatUser admin, JabbR.Models.ChatUser targetUser ) : void | ||
ChangeTopic ( JabbR.Models.ChatUser user, JabbR.Models.ChatRoom room, string newTopic ) : void | ||
ChangeWelcome ( JabbR.Models.ChatUser user, JabbR.Models.ChatRoom room, string newWelcome ) : void | ||
ChatService ( ICache cache, IJabbrRepository repository ) : System | ||
CloseRoom ( ChatUser user, ChatRoom targetRoom ) : void | ||
DisconnectClient ( string clientId ) : string | ||
JoinRoom ( ChatUser user, ChatRoom room, string inviteCode ) : void | ||
KickUser ( ChatUser user, ChatUser targetUser, ChatRoom targetRoom ) : void | ||
LeaveRoom ( ChatUser user, ChatRoom room ) : void | ||
LockRoom ( ChatUser user, ChatRoom targetRoom ) : void | ||
OpenRoom ( ChatUser user, ChatRoom targetRoom ) : void | ||
RemoveAdmin ( ChatUser admin, ChatUser targetUser ) : void | ||
RemoveOwner ( ChatUser creator, ChatUser targetUser, ChatRoom targetRoom ) : void | ||
SetInviteCode ( ChatUser user, ChatRoom room, string inviteCode ) : void | ||
UnallowUser ( ChatUser user, ChatUser targetUser, ChatRoom targetRoom ) : void | ||
UpdateActivity ( ChatUser user, string clientId, string userAgent ) : void |
Méthode | Description | |
---|---|---|
EnsureAdmin ( ChatUser user ) : void | ||
EnsureCreator ( ChatUser user, ChatRoom room ) : void | ||
EnsureCreatorOrAdmin ( ChatUser user, ChatRoom room ) : void | ||
EnsureOwner ( ChatUser user, ChatRoom room ) : void | ||
EnsureOwnerOrAdmin ( ChatUser user, ChatRoom room ) : void | ||
GetCountry ( string isoCode ) : string | ||
IsUserAllowed ( ChatRoom room, ChatUser user ) : bool | ||
IsValidRoomName ( string name ) : bool | ||
NormalizeRoomName ( string roomName ) : string | ||
ValidateIsoCode ( string isoCode ) : void | ||
ValidateNote ( string note, string noteTypeName = "note", int maxLength = null ) : void | ||
ValidateTopic ( string topic ) : void | ||
ValidateWelcome ( string message ) : void |
public AddAdmin ( JabbR.Models.ChatUser admin, JabbR.Models.ChatUser targetUser ) : void | ||
admin | JabbR.Models.ChatUser | |
targetUser | JabbR.Models.ChatUser | |
Résultat | void |
public AddClient ( JabbR.Models.ChatUser user, string clientId, string userAgent ) : JabbR.Models.ChatClient | ||
user | JabbR.Models.ChatUser | |
clientId | string | |
userAgent | string | |
Résultat | JabbR.Models.ChatClient |
public AddMessage ( JabbR.Models.ChatUser user, JabbR.Models.ChatRoom room, string id, string content ) : |
||
user | JabbR.Models.ChatUser | |
room | JabbR.Models.ChatRoom | |
id | string | |
content | string | |
Résultat |
public AddOwner ( JabbR.Models.ChatUser ownerOrCreator, JabbR.Models.ChatUser targetUser, JabbR.Models.ChatRoom targetRoom ) : void | ||
ownerOrCreator | JabbR.Models.ChatUser | |
targetUser | JabbR.Models.ChatUser | |
targetRoom | JabbR.Models.ChatRoom | |
Résultat | void |
public AddRoom ( JabbR.Models.ChatUser user, string name ) : JabbR.Models.ChatRoom | ||
user | JabbR.Models.ChatUser | |
name | string | |
Résultat | JabbR.Models.ChatRoom |
public AllowUser ( JabbR.Models.ChatUser user, JabbR.Models.ChatUser targetUser, JabbR.Models.ChatRoom targetRoom ) : void | ||
user | JabbR.Models.ChatUser | |
targetUser | JabbR.Models.ChatUser | |
targetRoom | JabbR.Models.ChatRoom | |
Résultat | void |
public AppendMessage ( string id, string content ) : void | ||
id | string | |
content | string | |
Résultat | void |
public BanUser ( JabbR.Models.ChatUser admin, JabbR.Models.ChatUser targetUser ) : void | ||
admin | JabbR.Models.ChatUser | |
targetUser | JabbR.Models.ChatUser | |
Résultat | void |
public ChangeTopic ( JabbR.Models.ChatUser user, JabbR.Models.ChatRoom room, string newTopic ) : void | ||
user | JabbR.Models.ChatUser | |
room | JabbR.Models.ChatRoom | |
newTopic | string | |
Résultat | void |
public ChangeWelcome ( JabbR.Models.ChatUser user, JabbR.Models.ChatRoom room, string newWelcome ) : void | ||
user | JabbR.Models.ChatUser | |
room | JabbR.Models.ChatRoom | |
newWelcome | string | |
Résultat | void |
public ChatService ( ICache cache, IJabbrRepository repository ) : System | ||
cache | ICache | |
repository | IJabbrRepository | |
Résultat | System |
public CloseRoom ( ChatUser user, ChatRoom targetRoom ) : void | ||
user | ChatUser | |
targetRoom | ChatRoom | |
Résultat | void |
public DisconnectClient ( string clientId ) : string | ||
clientId | string | |
Résultat | string |
public JoinRoom ( ChatUser user, ChatRoom room, string inviteCode ) : void | ||
user | ChatUser | |
room | ChatRoom | |
inviteCode | string | |
Résultat | void |
public KickUser ( ChatUser user, ChatUser targetUser, ChatRoom targetRoom ) : void | ||
user | ChatUser | |
targetUser | ChatUser | |
targetRoom | ChatRoom | |
Résultat | void |
public LeaveRoom ( ChatUser user, ChatRoom room ) : void | ||
user | ChatUser | |
room | ChatRoom | |
Résultat | void |
public LockRoom ( ChatUser user, ChatRoom targetRoom ) : void | ||
user | ChatUser | |
targetRoom | ChatRoom | |
Résultat | void |
public OpenRoom ( ChatUser user, ChatRoom targetRoom ) : void | ||
user | ChatUser | |
targetRoom | ChatRoom | |
Résultat | void |
public RemoveAdmin ( ChatUser admin, ChatUser targetUser ) : void | ||
admin | ChatUser | |
targetUser | ChatUser | |
Résultat | void |
public RemoveOwner ( ChatUser creator, ChatUser targetUser, ChatRoom targetRoom ) : void | ||
creator | ChatUser | |
targetUser | ChatUser | |
targetRoom | ChatRoom | |
Résultat | void |
public SetInviteCode ( ChatUser user, ChatRoom room, string inviteCode ) : void | ||
user | ChatUser | |
room | ChatRoom | |
inviteCode | string | |
Résultat | void |
public UnallowUser ( ChatUser user, ChatUser targetUser, ChatRoom targetRoom ) : void | ||
user | ChatUser | |
targetUser | ChatUser | |
targetRoom | ChatRoom | |
Résultat | void |
public UpdateActivity ( ChatUser user, string clientId, string userAgent ) : void | ||
user | ChatUser | |
clientId | string | |
userAgent | string | |
Résultat | void |