public void Serialize()
        {
            var testSample = new DiagnosticsEventArgs(EventLevel.Critical, new ArgumentNullException().ToString(), "Serialize");

            var x = JsonConvert.SerializeObject(testSample);

            var y = JsonConvert.DeserializeObject <DiagnosticsEventArgs>(x);

            Assert.AreEqual(testSample.Level, y.Level);

            Assert.AreEqual(testSample.Message, y.Message);

            Assert.AreEqual(testSample.Source, y.Source);
        }
		private static void EventHandler(Object sender, DiagnosticsEventArgs diagnosticsEventArgs)
		{
			Trace.TraceInformation("{0}:{1}:{2}", diagnosticsEventArgs.Source, diagnosticsEventArgs.Level, diagnosticsEventArgs.Message);
		}