public static BaseElement Create(RootConfigElement rootConfig, XElement xelement) { switch(xelement.Name.LocalName) { case RootConfigElement.NodeName: return new RootConfigElement(xelement); case FolderElement.NodeName: return new FolderElement(rootConfig, xelement); case SequenceElement.NodeName: return new SequenceElement(rootConfig, xelement); case EntityElement.NodeName: return new EntityElement(rootConfig, xelement); case LoadElement.NodeName: return new LoadElement(rootConfig, xelement); default: return null; } }
public EntityElement(RootConfigElement rootConfig, XElement xmlElement) : base(rootConfig, xmlElement) { }
public EntityElement(RootConfigElement rootConfig, string className, string refName = "") { RootConfig = rootConfig; ClassName = className; RefName = refName; }
public SequenceElement(RootConfigElement rootConfig, XElement xmlElement) : base(rootConfig, xmlElement) { }
protected ContainerElement(RootConfigElement rootConfig, XElement xmlElement, BaseElement parent = null) : base(rootConfig, xmlElement) { Parent = parent; }
public LoadElement(RootConfigElement rootConfig, XElement xmlElement) : base(rootConfig, xmlElement) { }
protected BaseElement(RootConfigElement rootConfig, XElement xmlElement) { _rootConfig = rootConfig; _xElem = xmlElement; BuildElement(); }
public FolderElement(RootConfigElement rootConfig, XElement xmlElement) : base(rootConfig, xmlElement) { }