17 references to TextSyndicationContentKind
System.ServiceModel (1)
netstandard.cs (1)
268[assembly: TypeForwardedTo(typeof(TextSyndicationContentKind))]
System.ServiceModel.Syndication (15)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (5)
556TextSyndicationContentKind kind = type switch 558Atom10Constants.PlaintextType => TextSyndicationContentKind.Plaintext, 559Atom10Constants.HtmlType => TextSyndicationContentKind.Html, 560Atom10Constants.XHtmlType => TextSyndicationContentKind.XHtml, 588string val = (kind == TextSyndicationContentKind.XHtml) ? reader.ReadInnerXml() : reader.ReadElementString();
System\ServiceModel\Syndication\SyndicationContent.cs (2)
30return new TextSyndicationContent(content, TextSyndicationContentKind.Html); 45return new TextSyndicationContent(content, TextSyndicationContentKind.XHtml);
System\ServiceModel\Syndication\TextSyndicationContent.cs (8)
12private readonly TextSyndicationContentKind _textKind; 14public TextSyndicationContent(string text) : this(text, TextSyndicationContentKind.Plaintext) 18public TextSyndicationContent(string text, TextSyndicationContentKind textKind) 20if (textKind < TextSyndicationContentKind.Plaintext || textKind > TextSyndicationContentKind.XHtml) 41TextSyndicationContentKind.Html => Atom10Constants.HtmlType, 42TextSyndicationContentKind.XHtml => Atom10Constants.XHtmlType, 51if (_textKind == TextSyndicationContentKind.XHtml)
System.ServiceModel.Web (1)
System.ServiceModel.Web.cs (1)
38[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ServiceModel.Syndication.TextSyndicationContentKind))]