C# Класс jabber.connection.ParticipantCollection

Наследование: IEnumerable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetEnumerator ( ) : IEnumerator

Enumerate over all of the participants

GetParticipantsByAffiliation ( RoomAffiliation affiliation ) : jabber.connection.RoomParticipant[]

Get all of the participants that are in a given room affiliation.

GetParticipantsByRole ( RoomRole role ) : jabber.connection.RoomParticipant[]

Get all of the participants that are in a given room role.

this ( JID nickJid ) : RoomParticipant

Get a participant by their room@service/nick JID.

Приватные методы

Метод Описание
Modify ( Presence pres, Modification &mod ) : RoomParticipant

Add a participant to the list, indexed by full nick JID.

Описание методов

GetEnumerator() публичный Метод

Enumerate over all of the participants
public GetEnumerator ( ) : IEnumerator
Результат IEnumerator

GetParticipantsByAffiliation() публичный Метод

Get all of the participants that are in a given room affiliation.
public GetParticipantsByAffiliation ( RoomAffiliation affiliation ) : jabber.connection.RoomParticipant[]
affiliation RoomAffiliation The role to search for
Результат jabber.connection.RoomParticipant[]

GetParticipantsByRole() публичный Метод

Get all of the participants that are in a given room role.
public GetParticipantsByRole ( RoomRole role ) : jabber.connection.RoomParticipant[]
role RoomRole The role to search for
Результат jabber.connection.RoomParticipant[]

this() публичный Метод

Get a participant by their room@service/nick JID.
public this ( JID nickJid ) : RoomParticipant
nickJid JID room@service/nick
Результат RoomParticipant