コード例 #1
0
 public ViewCompilingVisitor(DefaultViewCompilerCodeEmitter emitter, IBindingCompiler bindingCompiler,
                             string className)
 {
     this.emitter         = emitter;
     this.className       = className;
     this.bindingCompiler = bindingCompiler;
 }
コード例 #2
0
 public ViewCompilingVisitor(DefaultViewCompilerCodeEmitter emitter, IBindingCompiler bindingCompiler, string className, Func<ResolvedBinding, string> bindingIdGenerator)
 {
     this.emitter = emitter;
     this.className = className;
     this.bindingCompiler = bindingCompiler;
     this.bindingIdGenerator = bindingIdGenerator;
 }
コード例 #3
0
 public ViewCompilingVisitor(DefaultViewCompilerCodeEmitter emitter, IBindingCompiler bindingCompiler, string className, Func <ResolvedBinding, string> bindingIdGenerator)
 {
     this.emitter            = emitter;
     this.className          = className;
     this.bindingCompiler    = bindingCompiler;
     this.bindingIdGenerator = bindingIdGenerator;
 }
コード例 #4
0
 public ViewCompilingVisitor(DefaultViewCompilerCodeEmitter emitter, CompiledAssemblyCache compiledAssemblyCache, IBindingCompiler bindingCompiler,
                             string className)
 {
     this.emitter = emitter;
     this.compiledAssemblyCache = compiledAssemblyCache;
     this.className             = className;
     this.bindingCompiler       = bindingCompiler;
 }
コード例 #5
0
ファイル: DefaultViewCompiler.cs プロジェクト: wushian/dotvvm
 public DefaultViewCompiler(IOptions <ViewCompilerConfiguration> config, IControlTreeResolver controlTreeResolver, IBindingCompiler bindingCompiler, Func <Validation.ControlUsageValidationVisitor> controlValidatorFactory, DotvvmMarkupConfiguration markupConfiguration)
 {
     this.config = config.Value;
     this.controlTreeResolver       = controlTreeResolver;
     this.bindingCompiler           = bindingCompiler;
     this.assemblyCache             = CompiledAssemblyCache.Instance;
     this.controlValidatorFactory   = controlValidatorFactory;
     this.markupConfiguration       = markupConfiguration;
     this.referencedAssembliesCache = new Lazy <IEnumerable <Assembly> >(BuildReferencedAssembliesCache, true);
 }
コード例 #6
0
 public ViewCompilingVisitor(DefaultViewCompilerCodeEmitter emitter, IBindingCompiler bindingCompiler, string className)
 {
     this.emitter = emitter;
     this.className = className;
     this.bindingCompiler = bindingCompiler;
 }
コード例 #7
0
 public DefaultViewCompiler(IOptions <ViewCompilerConfiguration> config, IControlTreeResolver controlTreeResolver, IBindingCompiler bindingCompiler, Func <Validation.ControlUsageValidationVisitor> controlValidatorFactory, CompiledAssemblyCache compiledAssemblyCache)
 {
     this.config = config.Value;
     this.controlTreeResolver     = controlTreeResolver;
     this.bindingCompiler         = bindingCompiler;
     this.controlValidatorFactory = controlValidatorFactory;
     this.assemblyCache           = compiledAssemblyCache;
 }
コード例 #8
0
 public DefaultViewCompiler(IOptions <ViewCompilerConfiguration> config, IControlTreeResolver controlTreeResolver, IBindingCompiler bindingCompiler, Func <Validation.ControlUsageValidationVisitor> controlValidatorFactory, DotvvmMarkupConfiguration markupConfiguration)
 {
     this.config = config.Value;
     this.controlTreeResolver     = controlTreeResolver;
     this.bindingCompiler         = bindingCompiler;
     this.assemblyCache           = CompiledAssemblyCache.Instance;
     this.controlValidatorFactory = controlValidatorFactory;
     this.markupConfiguration     = markupConfiguration;
 }