Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
 public async Task WriteAsync(XmlWriter writer)
 {
     await _writer.WriteAsync(writer)
     .ConfigureAwait(false);
 }