Ejemplo n.º 1
0
 public Fragment(InlineType inlineType, string content, SegmentationHint segmentationHint,
                 bool isContentTranslatable)
 {
     InlineType            = inlineType;
     Content               = content;
     SegmentationHint      = segmentationHint;
     IsContentTranslatable = isContentTranslatable;
 }
        private IPlaceholderTag CreatePlaceholder(string content, SegmentationHint segmentationHint)
        {
            var placeholderProperties = _propertiesFactory.CreatePlaceholderTagProperties(content);

            placeholderProperties.TagContent       = content;
            placeholderProperties.DisplayText      = content;
            placeholderProperties.SegmentationHint = segmentationHint;

            return(_itemFactory.CreatePlaceholderTag(placeholderProperties));
        }