Пример #1
0
        protected override void Write(XamlRenderer renderer, HtmlEntityInline obj)
        {
            if (renderer == null)
            {
                throw new ArgumentNullException(nameof(renderer));
            }
            if (obj == null)
            {
                throw new ArgumentNullException(nameof(obj));
            }

            renderer.WriteEscape(obj.Transcoded);
        }
Пример #2
0
        protected override void Write(XamlRenderer renderer, DelimiterInline obj)
        {
            if (renderer == null)
            {
                throw new ArgumentNullException(nameof(renderer));
            }
            if (obj == null)
            {
                throw new ArgumentNullException(nameof(obj));
            }

            renderer.WriteEscape(obj.ToLiteral());
            renderer.WriteChildren(obj);
        }
Пример #3
0
 protected override void Write([NotNull] XamlRenderer renderer, [NotNull] HtmlEntityInline obj)
 {
     renderer.WriteEscape(obj.Transcoded);
 }
Пример #4
0
 protected override void Write([NotNull] XamlRenderer renderer, [NotNull] DelimiterInline obj)
 {
     renderer.WriteEscape(obj.ToLiteral());
     renderer.WriteChildren(obj);
 }