예제 #1
0
        public TagType(string option, TagFormat format)
        {
            this.Option = option;
            this.Format = format;

            this.StartOption = new TagOption(option, format, TagOptionPosition.Start);
            this.EndOption   = new TagOption(option, format, TagOptionPosition.End);
        }
예제 #2
0
 public TagOption(string option, TagFormat format, TagOptionPosition position = TagOptionPosition.Start)
 {
     this.Option   = option;
     this.Format   = format;
     this.Position = position;
 }