public async Task WriteAsync(XmlWriter writer) { var format = DateFormatMap[_dateFormat]; var date = FormatDate(_date, _dateFormat); var sayAsWriter = new SayAsWriter("date", format, date); await sayAsWriter.WriteAsync(writer) .ConfigureAwait(false); }
public async Task WriteAsync(XmlWriter writer) { var format = GetFormat(_format); var value = GetValue(_value, _format); var sayAsWriter = new SayAsWriter("time", format, value); await sayAsWriter.WriteAsync(writer) .ConfigureAwait(false); }
public async Task WriteAsync(XmlWriter writer) { await _writer.WriteAsync(writer) .ConfigureAwait(false); }