/// <summary> /// Register related events when participant has been added /// </summary> /// <param name="eventSource"></param> /// <param name="eventData"></param> void _IUccSessionParticipantCollectionEvents.OnParticipantAdded( IUccSession eventSource, UccSessionParticipantCollectionEvent eventData) { if (eventData.Participant.IsLocal) { return; } Advise <_IUccSessionParticipantEvents>(eventData.Participant, this); if (eventSource.Type == UCC_SESSION_TYPE.UCCST_INSTANT_MESSAGING) { Advise <_IUccInstantMessagingSessionParticipantEvents>(eventData.Participant, this); } }
/// <summary> /// /// </summary> /// <param name="eventSource"></param> /// <param name="eventData"></param> void _IUccSessionParticipantCollectionEvents.OnParticipantRemoved( IUccSession eventSource, UccSessionParticipantCollectionEvent eventData) { }
/// <summary> /// /// </summary> /// <param name="eventSource"></param> /// <param name="eventData"></param> void _IUccSessionParticipantCollectionEvents.OnParticipantRemoved( IUccSession eventSource, UccSessionParticipantCollectionEvent eventData) { }
void _IUccSessionParticipantCollectionEvents.OnParticipantAdded(IUccSession eventSource, UccSessionParticipantCollectionEvent eventData) { this.OnParticipantAdded(eventSource, eventData.Participant); }
/// <summary> /// Register related events when participant has been added /// </summary> /// <param name="eventSource"></param> /// <param name="eventData"></param> void _IUccSessionParticipantCollectionEvents.OnParticipantAdded( IUccSession eventSource, UccSessionParticipantCollectionEvent eventData) { if (eventData.Participant.IsLocal) return; Advise<_IUccSessionParticipantEvents>(eventData.Participant, this); if (eventSource.Type == UCC_SESSION_TYPE.UCCST_INSTANT_MESSAGING) { Advise<_IUccInstantMessagingSessionParticipantEvents>(eventData.Participant, this); } }