Ejemplo n.º 1
0
        internal void OnTraceFinished(TraceContextEventArgs e)
        {
            TraceContextEventHandler handler = (TraceContextEventHandler)_events[EventTraceFinished];

            if (handler != null)
            {
                handler(this, e);
            }
        }
Ejemplo n.º 2
0
		private void Handler (object sender, TraceContextEventArgs e)
		{
		}
 internal void OnTraceFinished(TraceContextEventArgs e) {
     TraceContextEventHandler handler = (TraceContextEventHandler)_events[EventTraceFinished];
     if (handler != null) {
         handler(this, e);
     }
 }
Ejemplo n.º 4
0
 void Trace_TraceFinished(object sender, TraceContextEventArgs e)
 {
     //List<string> list = new List<string>();
     //list.Add("Timestamp: " + DateTime.Now);
     //foreach (TraceContextRecord tcr in e.TraceRecords)
     //{
     //    if (tcr.Category == "openid")
     //    {
     //        list.Add(tcr.Message);
     //    }
     //}
     //list.Add("--------------------");
     //string alltext = String.Join("\n", list.ToArray()) + "\n";
     //File.AppendAllText(Server.MapPath("~/openid.log"), alltext);
     //alltext = null;
     //list = null;
 }