Esempio n. 1
0
 public virtual void VisitPropertyControl(ResolvedPropertyControl propertyControl)
 {
     DefaultVisit(propertyControl);
 }
Esempio n. 2
0
 public override void VisitPropertyControl(ResolvedPropertyControl propertyControl)
 {
     var control = propertyControl.Control;
     var parentName = controlName;
     controlName = CreateControl(control);
     // compile control content
     base.VisitControl(control);
     emitter.EmitSetProperty(controlName, nameof(DotvvmControl.Parent), SyntaxFactory.IdentifierName(parentName));
     // set the property
     SetProperty(parentName, propertyControl.Property, SyntaxFactory.IdentifierName(controlName));
     controlName = parentName;
 }