From 1d15318eef806b93fa7431127e872861bf0288ec Mon Sep 17 00:00:00 2001 From: Andrew Bullock Date: Mon, 24 Sep 2018 10:45:36 +0100 Subject: [PATCH] made CompilerSettings public --- .../Util/CompilationSettings.cs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/Util/CompilationSettings.cs b/src/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/Util/CompilationSettings.cs index 083af92..512f1cf 100644 --- a/src/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/Util/CompilationSettings.cs +++ b/src/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/Util/CompilationSettings.cs @@ -7,12 +7,19 @@ using System.Runtime.InteropServices; namespace Microsoft.CodeDom.Providers.DotNetCompilerPlatform { - internal sealed class CompilerSettings : ICompilerSettings { + /// + public sealed class CompilerSettings : ICompilerSettings { private readonly string _compilerFullPath; private readonly int _compilerServerTimeToLive = 0; // seconds - public CompilerSettings(string compilerFullPath, int compilerServerTimeToLive) { + /// + /// Creates a new instance of CompilerSettings + /// + /// The full path to csc.exe or vbc.exe + /// TTL in seconds + /// + public CompilerSettings(string compilerFullPath, int compilerServerTimeToLive) { if (string.IsNullOrEmpty(compilerFullPath)) { throw new ArgumentNullException("compilerFullPath"); }