static object GetPropertyValue(LogEvent context, string propertyName)
        {
            LogEventPropertyValue value;

            if (!context.Properties.TryGetValue(propertyName, out value))
            {
                return(Undefined.Value);
            }

            return(Representation.Represent(value));
        }