C# Class VSTalk.Engine.Core.Context.ModelContext

Inheritance: IModelContext
Afficher le fichier Open project: Irdis/VSTalk Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
GetClientByContact ( Interlocutor interlocutor ) : Client
GetClientById ( Guid id ) : Client
GetClientByJid ( Jid jid ) : Client
GetClientByRoom ( Room room ) : Client
GetContactById ( Guid id ) : Interlocutor
GetContactByJid ( Guid clientId, Jid jid ) : Interlocutor
GetRoomById ( Guid id ) : Room
GetRoomByJid ( Guid clientId, Jid jid ) : Room

Private Methods

Méthode Description
BindCollections ( ) : void
ContactsOnCollectionChanged ( object sender, NotifyCollectionChangedEventArgs args ) : void
FillCollections ( ) : void
RoomsOnCollectionChanged ( object sender, NotifyCollectionChangedEventArgs args ) : void
SubscribeCollections ( ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetClientByContact() public méthode

public GetClientByContact ( Interlocutor interlocutor ) : Client
interlocutor VSTalk.Model.Interlocutor
Résultat VSTalk.Model.Client

GetClientById() public méthode

public GetClientById ( Guid id ) : Client
id Guid
Résultat VSTalk.Model.Client

GetClientByJid() public méthode

public GetClientByJid ( Jid jid ) : Client
jid Jid
Résultat VSTalk.Model.Client

GetClientByRoom() public méthode

public GetClientByRoom ( Room room ) : Client
room VSTalk.Model.Room
Résultat VSTalk.Model.Client

GetContactById() public méthode

public GetContactById ( Guid id ) : Interlocutor
id Guid
Résultat VSTalk.Model.Interlocutor

GetContactByJid() public méthode

public GetContactByJid ( Guid clientId, Jid jid ) : Interlocutor
clientId Guid
jid Jid
Résultat VSTalk.Model.Interlocutor

GetRoomById() public méthode

public GetRoomById ( Guid id ) : Room
id Guid
Résultat VSTalk.Model.Room

GetRoomByJid() public méthode

public GetRoomByJid ( Guid clientId, Jid jid ) : Room
clientId Guid
jid Jid
Résultat VSTalk.Model.Room