<PackageReference Include="Microsoft.ApplicationInsights" Version="2.22.0" />

Microsoft.ApplicationInsights.Extensibility.ISerializationWriter

public interface ISerializationWriter
The interface for defining writers capable of serializing data into various formats.
namespace Microsoft.ApplicationInsights.Extensibility { public interface ISerializationWriter { void WriteProperty(string name, string value); void WriteProperty(string name, double? value); void WriteProperty(string name, int? value); void WriteProperty(string name, bool? value); void WriteProperty(string name, TimeSpan? value); void WriteProperty(string name, DateTimeOffset? value); void WriteProperty(string name, ISerializableWithWriter value); void WriteProperty(ISerializableWithWriter value); void WriteProperty(string name, IList<string> items); void WriteProperty(string name, IList<ISerializableWithWriter> items); void WriteProperty(string name, IDictionary<string, string> items); void WriteProperty(string name, IDictionary<string, double> items); void WriteStartObject(string name); void WriteStartObject(); void WriteEndObject(); } }