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