Example #1
0
        public TagType(TagOption startOption, TagOption endOption)
        {
            this.Option = startOption.MainOption();
            this.Format = startOption.Format;

            this.StartOption = startOption;
            this.EndOption   = endOption;
        }
Example #2
0
 public static bool Matches(TagOption start, TagOption end)
 {
     return(start.Position == TagOptionPosition.Start &&
            end.Position == TagOptionPosition.End &&
            start.MainOption().Equals(end.MainOption()));
 }