コード例 #1
0
 public override void WriteTo(TextWriter writer)
 {
     writer.Write('(');
     _InternalItem.WriteTo(writer);
     writer.Write("){");
     if (_Minimum > 0)
     {
         writer.Write(_Minimum);
     }
     writer.Write(',');
     if (_Maximum < int.MaxValue)
     {
         writer.Write(_Maximum);
     }
     writer.Write('}');
 }
コード例 #2
0
 public override void WriteTo(TextWriter writer)
 {
     writer.Write('(');
     _InternalItem.WriteTo(writer);
     writer.Write(")?");
 }