Beispiel #1
0
        /// <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);
            }
        }
Beispiel #2
0
        /// <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)
 {
 }
Beispiel #4
0
 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);
            }
        }