Example #1
0
        /// <summary>
        /// Processes the node.
        /// </summary>
        public override void VisitControl(ResolvedControl node)
        {
            var parentName = controlName;

            controlName = CreateControl(node);

            base.VisitControl(node);

            emitter.EmitAddCollectionItem(parentName, controlName);
            controlName = parentName;
        }
Example #2
0
        /// <summary>
        /// Processes the node.
        /// </summary>
        public override void VisitControl(ResolvedControl node)
        {
            var parentName       = controlName;
            var localControlName = controlName = CreateControl(node);

            base.VisitControl(node);

            Debug.Assert(localControlName == controlName);

            emitter.CommitDotvvmProperties(controlName);

            emitter.EmitAddCollectionItem(parentName, controlName);
            controlName = parentName;
        }