public Tag(TagOption startOption, TagOption endOption) { Option = startOption.MainOption; Format = startOption.Format; StartOption = startOption; EndOption = endOption; }
public Tag(string option, TagFormat format) { Option = option; Format = format; StartOption = new TagOption(option, format, TagOptionPosition.start); EndOption = new TagOption(option, format, TagOptionPosition.end); }
public EndTagBeforeStartException(TagOption tag, int?index = null, int?lineNumber = null) : base(tag, index, lineNumber, DEFAULT_MESSAGE) { }
public StartTagWithoutEndException(TagOption tag, int?index = null, int?lineNumber = null) : base(tag, index, lineNumber, DEFAULT_MESSAGE) { }
public TagException(TagOption tag, int?index = null, int?lineNumber = null, string message = null) : base(message, index, lineNumber, END_ACTION_MESSAGE) { Tag = tag; }