public OfflineCompiler(ICodeProviderAdapterFactory codeProviderAdapterFactory, IPreProcessor preProcessor, ICompilationContext context, AspViewCompilerOptions options, IFileSystemAdapter fileSystem) : base(codeProviderAdapterFactory, preProcessor, context, options) { this.fileSystem = fileSystem; parameters.GenerateInMemory = false; parameters.OutputAssembly = Path.Combine(context.BinFolder.FullName, "CompiledViews.dll"); }
protected AbstractCompiler(ICodeProviderAdapterFactory codeProviderAdapterFactory, IPreProcessor preProcessor, ICompilationContext context, AspViewCompilerOptions options) { this.preProcessor = preProcessor; this.context = context; this.options = options; codeProvider = codeProviderAdapterFactory.GetAdapter(); InitialiseCompilerParameters(options.Debug); }
public OnlineCompiler(ICodeProviderAdapterFactory codeProviderAdapterFactory, IPreProcessor preProcessor, ICompilationContext context, AspViewCompilerOptions options) : base(codeProviderAdapterFactory, preProcessor, context, options) { parameters.GenerateInMemory = true; }
public AspViewCompiler(AspViewCompilerOptions options) { Resolve.Initialize(options.CustomProviders); this.options = options; InitializeCompilerParameters(); }