コード例 #1
0
        public void Write(XmlWriter writer)
        {
            string format = DateFormatAttributeValueMap[_format];
            string date   = _date.ToString(DateFormatToDateTimeFormatString[_format]);

            _writer = new SayAsWriter("date", format, date);
            _writer.Write(writer);
        }
コード例 #2
0
 public ISpeech AsDigits()
 {
     _writer = new SayAsWriter("digits", _value.ToString(CultureInfo.InvariantCulture));
     return(_speech);
 }
コード例 #3
0
 public ISpeech AsOrdinal()
 {
     _writer = new SayAsWriter("ordinal", _value.ToString(CultureInfo.InvariantCulture));
     return(_speech);
 }