CompilationOptionsProviderExtension Class¶
Methods¶
-
GetCompilationSettings
(ICompilerOptionsProvider, IApplicationEnvironment)¶ Parses the @!:ICompilerOptions- for the current executing application and returns a @!:CompilationSettings- used for Roslyn compilation.
Arguments: - compilerOptionsProvider (ICompilerOptionsProvider) – A @!:ICompilerOptionsProvider- that reads compiler options.
- applicationEnvironment (IApplicationEnvironment) – The @!:IApplicationEnvironment- for the executing application.
Return type: CompilationSettings
Returns: The @!:CompilationSettings- for the current application.
public static CompilationSettings GetCompilationSettings(ICompilerOptionsProvider compilerOptionsProvider, IApplicationEnvironment applicationEnvironment)
-