/// <summary> /// Initializes a new instance of the <see cref="TemplateSegment"/> class. /// </summary> /// <param name="type">The type of the segment.</param> /// <param name="content">The content of the segment.</param> public TemplateSegment(TemplateSegmentType type, string content) { Type = type; Content = content; }
private bool IsInsideBlock(TemplateSegmentType type) { return type != TemplateSegmentType.PlainText; }