Monobjc.Tools.Generator.Parsers.Sgml.ElementDecl.ElementDecl C# (CSharp) Method

ElementDecl() public method

Initialises a new element declaration instance.
public ElementDecl ( string name, bool sto, bool eto, ContentModel cm, string inclusions, string exclusions ) : System
name string The name of the element.
sto bool Whether the start tag is optional.
eto bool Whether the end tag is optional.
cm ContentModel The of the element.
inclusions string
exclusions string
return System
        public ElementDecl(string name, bool sto, bool eto, ContentModel cm, string[] inclusions, string[] exclusions)
        {
            this.m_name = name;
            this.m_startTagOptional = sto;
            this.m_endTagOptional = eto;
            this.m_contentModel = cm;
            this.m_inclusions = inclusions;
            this.m_exclusions = exclusions;
        }