Ejemplo n.º 1
0
 public ViewCompilingVisitor(DefaultViewCompilerCodeEmitter emitter, IBindingCompiler bindingCompiler,
                             string className)
 {
     this.emitter         = emitter;
     this.className       = className;
     this.bindingCompiler = bindingCompiler;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 4
0
 public ViewCompilingVisitor(DefaultViewCompilerCodeEmitter emitter, CompiledAssemblyCache compiledAssemblyCache, IBindingCompiler bindingCompiler,
                             string className)
 {
     this.emitter = emitter;
     this.compiledAssemblyCache = compiledAssemblyCache;
     this.className             = className;
     this.bindingCompiler       = bindingCompiler;
 }
Ejemplo n.º 5
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;
     this.referencedAssembliesCache = new Lazy <IEnumerable <Assembly> >(BuildReferencedAssembliesCache, true);
 }
Ejemplo n.º 6
0
 public ViewCompilingVisitor(DefaultViewCompilerCodeEmitter emitter, IBindingCompiler bindingCompiler, string className)
 {
     this.emitter = emitter;
     this.className = className;
     this.bindingCompiler = bindingCompiler;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }