Inheritance: ICodeCompiler, ICodeGenerator
        public CSharpCodeProvider(IDictionary<string, string> providerOptions) {
            if (providerOptions == null) {
                throw new ArgumentNullException("providerOptions");
            }

            generator = new CSharpCodeGenerator(providerOptions);
        }
Example #2
0
        public CSharpCodeProvider(IDictionary <string, string> providerOptions)
        {
            if (providerOptions == null)
            {
                throw new ArgumentNullException(nameof(providerOptions));
            }

            _generator = new CSharpCodeGenerator(providerOptions);
        }
Example #3
0
 public CSharpCodeProvider()
 {
     _generator = new CSharpCodeGenerator();
 }
 public CSharpCodeProvider() {
     generator = new CSharpCodeGenerator();
 }