private void GenerateMessage(ITraceMessage beginMessage, ITraceMessage endMessage, DateTime startTime) { var item = new PageLifeCycleMessage(); item.EventName = ProcessEventName(beginMessage.Message); item.StartTime = startTime; item.Offset = beginMessage.FromFirst; item.FromLast = beginMessage.FromLast; item.Duration = endMessage.FromFirst - beginMessage.FromFirst; item.EventCategory = WebFormsTimelineCategory.WebForms; MessageBroker.Publish(item); }
private void GenerateMessage(ITraceMessage beginMessage, ITraceMessage endMessage, DateTime startTime) { var item = new PageLifeCycleMessage(); item.EventName = ProcessEventName(beginMessage.Message); item.StartTime = startTime; item.Offset = beginMessage.FromFirst; item.FromLast = beginMessage.FromLast; item.Duration = endMessage.FromFirst - beginMessage.FromFirst; item.EventCategory = WebFormsTimelineCategory.WebForms; MessageBroker.Publish(item); }