Ejemplo n.º 1
0
        public void Notify(string eventXml, string tfsIdentityXml)
        {
            TraceHelper.TraceVerbose(Constants.CommonSwitch, "Notification Event Received Details as follows.\nEventXml:\n{0}\nTfsIdentityXml:\n{1}", eventXml, tfsIdentityXml);

            _eventReceived = ServiceHelper.DeserializeEvent <EventTypeT>(eventXml);
            _identity      = ServiceHelper.DeserializeEvent <TFSIdentity>(tfsIdentityXml);
            OnNotificationEvent(_eventReceived, _identity);
        }
 /// <summary>
 /// Do the work in processing the notification event
 /// </summary>
 /// <param name="eventRaised"></param>
 protected abstract void OnNotificationEvent(EventTypeT eventRaised, TFSIdentity identify);