public virtual void ConstructorTest() { PageTargetCountElement element = new PageTargetCountElement("'aadad''''adad#####'''aaa"); NUnit.Framework.Assert.AreEqual("aadadadadaaa", element.GetTarget()); }
/// <summary> /// Instantiates a new /// <see cref="PageTargetCountRenderer"/>. /// </summary> /// <param name="textElement">the text element</param> internal PageTargetCountRenderer(PageTargetCountElement textElement) : base(textElement) { digitsGlyphStyle = textElement.GetDigitsGlyphStyle(); target = textElement.GetTarget(); }