public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { LogEventInfo i = (LogEventInfo)value; //Dictionary<object, object> d = new Dictionary<object, object>(); return(i.ToDictionary().Select(pair => new object[] { pair.Key, pair.Value })); }