ln.templates/FormElement.cs

36 lines
906 B
C#

using System;
using System.Xml;
using System.Collections.Generic;
namespace ln.templates
{
//public abstract class FormElement
//{
// /* Instance Members */
// FormElement Container { get; }
// List<FormElement> children = new List<FormElement>();
// public FormElement(FormElement container)
// {
// Container = container;
// if (container != null)
// {
// container.children.Add(this);
// }
// }
// public abstract void Run(FormContext context);
// public FormElement[] Children => children.ToArray();
// public virtual Template Form => Container.Form;
// public void RunChildren(FormContext context)
// {
// foreach (FormElement child in children)
// {
// child.Run(context);
// }
// }
//}
}