File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
src/Microsoft.OpenApi/Writers Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
1
using System ;
2
- using System . Collections . Generic ;
3
2
using System . IO ;
4
- using System . Linq ;
5
- using System . Text ;
6
- using System . Threading . Tasks ;
7
3
8
4
namespace Microsoft . OpenApi . Writers
9
5
{
6
+ /// <summary>
7
+ /// A custom <see cref="StreamWriter"/> which supports setting a <see cref="IFormatProvider"/>.
8
+ /// </summary>
10
9
public class FormattingStreamWriter : StreamWriter
11
10
{
11
+ /// <summary>
12
+ /// Initializes a new instance of the <see cref="FormattingStreamWriter"/> class.
13
+ /// </summary>
14
+ /// <param name="stream"></param>
15
+ /// <param name="formatProvider"></param>
12
16
public FormattingStreamWriter ( Stream stream , IFormatProvider formatProvider )
13
17
: base ( stream )
14
18
{
15
19
this . FormatProvider = formatProvider ;
16
20
}
17
21
22
+ /// <summary>
23
+ /// The <see cref="IFormatProvider"/> associated with this <see cref="FormattingStreamWriter"/>.
24
+ /// </summary>
18
25
public override IFormatProvider FormatProvider { get ; }
19
26
}
20
27
}
You can’t perform that action at this time.
0 commit comments