예제 #1
0
        public CloseIMWindowEventArgs(Contact sender, EndPointData senderEndPoint,
                                      Contact receiver, EndPointData receiverEndPoint,
                                      Contact[] parties)
            : base()
        {
            Sender         = sender;
            SenderEndPoint = senderEndPoint;

            Receiver         = receiver;
            ReceiverEndPoint = receiverEndPoint;

            Parties = parties;
        }
예제 #2
0
        /// <summary>
        /// Sign the owner out from the specificed place.
        /// </summary>
        /// <param name="endPointID">The EndPoint guid to be signed out</param>
        public void SignoutFrom(Guid endPointID)
        {
            if (endPointID == Guid.Empty)
            {
                SignoutFromEverywhere();
                return;
            }

            if (EndPointData.ContainsKey(endPointID))
            {
                NSMessageHandler.SignoutFrom(endPointID);
            }
            else
            {
                Trace.WriteLineIf(Settings.TraceSwitch.TraceWarning, "Invalid place (signed out already): " + endPointID.ToString("B"), GetType().Name);
            }
        }
예제 #3
0
 public PlaceChangedEventArgs(EndPointData ep, PlaceChangedReason action)
     : base()
 {
     this.epData = ep;
     this.reason = action;
 }