JsonTextConfigurationInternal
json text configuration.
using Azure.Core;
using Azure.Storage.Common;
using System.Xml;
namespace Azure.Storage.Blobs.Models
{
[CodeGenModel("JsonTextConfiguration")]
internal class JsonTextConfigurationInternal : IXmlSerializable
{
public string RecordSeparator { get; set; }
public JsonTextConfigurationInternal()
{
}
internal JsonTextConfigurationInternal(string recordSeparator)
{
RecordSeparator = recordSeparator;
}
void IXmlSerializable.Write(XmlWriter writer, string nameHint)
{
writer.WriteStartElement(nameHint ?? "JsonTextConfiguration");
if (Optional.IsDefined(RecordSeparator)) {
writer.WriteStartElement("RecordSeparator");
writer.WriteValue(RecordSeparator);
writer.WriteEndElement();
}
writer.WriteEndElement();
}
}
}