File tree Expand file tree Collapse file tree
src/Microsoft.CodeDom.Providers.DotNetCompilerPlatform Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,8 +18,12 @@ public CSharpCodeProvider()
1818 : this ( null ) {
1919 }
2020
21- // Constructor used for unit test purpose
22- internal CSharpCodeProvider ( ICompilerSettings compilerSettings = null ) {
21+
22+ /// <summary>
23+ /// Creates an instance using the given ICompilerSettings
24+ /// </summary>
25+ /// <param name="compilerSettings"></param>
26+ public CSharpCodeProvider ( ICompilerSettings compilerSettings = null ) {
2327 _compilerSettings = compilerSettings == null ? CompilationSettingsHelper . CSC2 : compilerSettings ;
2428 }
2529
Original file line number Diff line number Diff line change 11// Copyright (c) .NET Foundation. All rights reserved.
22// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33
4- using System ;
5-
64namespace Microsoft . CodeDom . Providers . DotNetCompilerPlatform {
7- internal interface ICompilerSettings {
8- string CompilerFullPath { get ; }
95
10- // TTL in seconds
11- int CompilerServerTimeToLive { get ; }
6+ /// <summary>
7+ /// Provides settings for the C# and VB CodeProviders
8+ /// </summary>
9+ public interface ICompilerSettings {
10+
11+ /// <summary>
12+ /// The full path to csc.exe or vbc.exe
13+ /// </summary>
14+ string CompilerFullPath { get ; }
15+
16+ /// <summary>
17+ /// TTL in seconds
18+ /// </summary>
19+ int CompilerServerTimeToLive { get ; }
1220 }
1321}
Original file line number Diff line number Diff line change @@ -18,8 +18,11 @@ public VBCodeProvider()
1818 : this ( null ) {
1919 }
2020
21- // Constructor used for unit test purpose
22- internal VBCodeProvider ( ICompilerSettings compilerSettings = null ) {
21+ /// <summary>
22+ /// Creates an instance using the given ICompilerSettings
23+ /// </summary>
24+ /// <param name="compilerSettings"></param>
25+ public VBCodeProvider ( ICompilerSettings compilerSettings = null ) {
2326 _compilerSettings = compilerSettings == null ? CompilationSettingsHelper . VBC2 : compilerSettings ;
2427 }
2528
You can’t perform that action at this time.
0 commit comments