Show() публичный статический Метод

public static Show ( ) : void
Результат void
Пример #1
0
        public override void TraceEvent(TraceEventCache eventCache, string source, TraceEventType eventType, int id, string format, params object[] args)
        {
            if (Filter != null && !Filter.ShouldTrace(eventCache, source, eventType, id, format, args, null, null))
            {
                return;
            }

            string idDescription;

            if (source == "ExcelDna.Integration")
            {
                // For this source, we interpret the event id as a grouping
                IntegrationTraceEventId traceEventId = (IntegrationTraceEventId)id;
                idDescription = traceEventId.ToString();
            }
            else
            {
                idDescription = id.ToString(CultureInfo.InvariantCulture);
            }
            string header = string.Format(CultureInfo.InvariantCulture, "{0} [{1}] ", idDescription, eventType.ToString());

            base.TraceEvent(eventCache, source, eventType, id, header + format, args);

            if (eventType == TraceEventType.Error || eventType == TraceEventType.Critical)
            {
                LogDisplay.Show();
            }
        }
 public override void Show()
 {
     LogDisplay.Show();
 }