Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public AddClient ( JabbR.Models.ChatUser user, string clientId, string userAgent ) : JabbR.Models.ChatClient | ||
user | JabbR.Models.ChatUser | |
clientId | string | |
userAgent | string | |
Результат | 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 | |
Результат |
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 | |
Результат | void |
public AddRoom ( JabbR.Models.ChatUser user, string name ) : JabbR.Models.ChatRoom | ||
user | JabbR.Models.ChatUser | |
name | string | |
Результат | 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 | |
Результат | void |
public AppendMessage ( string id, string content ) : void | ||
id | string | |
content | string | |
Результат | void |
public BanUser ( JabbR.Models.ChatUser admin, JabbR.Models.ChatUser targetUser ) : void | ||
admin | JabbR.Models.ChatUser | |
targetUser | JabbR.Models.ChatUser | |
Результат | void |
public ChangeTopic ( JabbR.Models.ChatUser user, JabbR.Models.ChatRoom room, string newTopic ) : void | ||
user | JabbR.Models.ChatUser | |
room | JabbR.Models.ChatRoom | |
newTopic | string | |
Результат | void |
public ChangeWelcome ( JabbR.Models.ChatUser user, JabbR.Models.ChatRoom room, string newWelcome ) : void | ||
user | JabbR.Models.ChatUser | |
room | JabbR.Models.ChatRoom | |
newWelcome | string | |
Результат | void |
public ChatService ( ICache cache, IJabbrRepository repository ) : System | ||
cache | ICache | |
repository | IJabbrRepository | |
Результат | System |
public CloseRoom ( ChatUser user, ChatRoom targetRoom ) : void | ||
user | ChatUser | |
targetRoom | ChatRoom | |
Результат | void |
public DisconnectClient ( string clientId ) : string | ||
clientId | string | |
Результат | string |
public JoinRoom ( ChatUser user, ChatRoom room, string inviteCode ) : void | ||
user | ChatUser | |
room | ChatRoom | |
inviteCode | string | |
Результат | void |
public KickUser ( ChatUser user, ChatUser targetUser, ChatRoom targetRoom ) : void | ||
user | ChatUser | |
targetUser | ChatUser | |
targetRoom | ChatRoom | |
Результат | void |
public LeaveRoom ( ChatUser user, ChatRoom room ) : void | ||
user | ChatUser | |
room | ChatRoom | |
Результат | void |
public LockRoom ( ChatUser user, ChatRoom targetRoom ) : void | ||
user | ChatUser | |
targetRoom | ChatRoom | |
Результат | void |
public OpenRoom ( ChatUser user, ChatRoom targetRoom ) : void | ||
user | ChatUser | |
targetRoom | ChatRoom | |
Результат | void |
public RemoveAdmin ( ChatUser admin, ChatUser targetUser ) : void | ||
admin | ChatUser | |
targetUser | ChatUser | |
Результат | void |
public RemoveOwner ( ChatUser creator, ChatUser targetUser, ChatRoom targetRoom ) : void | ||
creator | ChatUser | |
targetUser | ChatUser | |
targetRoom | ChatRoom | |
Результат | void |
public SetInviteCode ( ChatUser user, ChatRoom room, string inviteCode ) : void | ||
user | ChatUser | |
room | ChatRoom | |
inviteCode | string | |
Результат | void |
public UnallowUser ( ChatUser user, ChatUser targetUser, ChatRoom targetRoom ) : void | ||
user | ChatUser | |
targetUser | ChatUser | |
targetRoom | ChatRoom | |
Результат | void |
public UpdateActivity ( ChatUser user, string clientId, string userAgent ) : void | ||
user | ChatUser | |
clientId | string | |
userAgent | string | |
Результат | void |