private static IDictionary ConvertToDictionary()

in src/Serilog.Sinks.AzureDataExplorer/Extensions/LogEventExtensions.cs [48:57]


        private static IDictionary<string, object> ConvertToDictionary(IReadOnlyDictionary<string, LogEventPropertyValue> properties)
        {
            var expObject = new Dictionary<string, object>(properties.Count);
            foreach (var property in properties)
            {
                expObject.Add(property.Key, Simplify(property.Value));
            }

            return expObject;
        }