Esempio n. 1
0
		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");
		}
Esempio n. 2
0
		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);
		}
Esempio n. 3
0
 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);
 }
Esempio n. 4
0
		public OnlineCompiler(ICodeProviderAdapterFactory codeProviderAdapterFactory, IPreProcessor preProcessor, ICompilationContext context, AspViewCompilerOptions options) : base(codeProviderAdapterFactory, preProcessor, context, options)
		{
			parameters.GenerateInMemory = true;
		}
Esempio n. 5
0
		public AspViewCompiler(AspViewCompilerOptions options)
		{
			Resolve.Initialize(options.CustomProviders);
			this.options = options;
			InitializeCompilerParameters();
		}
 public OnlineCompiler(ICodeProviderAdapterFactory codeProviderAdapterFactory, IPreProcessor preProcessor, ICompilationContext context, AspViewCompilerOptions options) : base(codeProviderAdapterFactory, preProcessor, context, options)
 {
     parameters.GenerateInMemory = true;
 }
Esempio n. 7
0
 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");
 }
Esempio n. 8
0
 public AspViewCompiler(AspViewCompilerOptions options)
 {
     Resolve.Initialize(options.CustomProviders);
     this.options = options;
     InitializeCompilerParameters();
 }