4 writes to MediaType
System.Data.Services (2)
System\Data\Services\Serializers\SyndicationSerializer.cs (2)
145
link.
MediaType
= linkType;
1078
link.
MediaType
= linkType;
System.ServiceModel (2)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (1)
1079
link.
MediaType
= mediaType;
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (1)
787
link.
MediaType
= val;
5 references to MediaType
System.Data.Services (1)
System\Data\Services\Serializers\SyndicationDeserializer.cs (1)
473
string typeParameterValue = ValidateTypeParameterForNonOpenTypeProperties(link.
MediaType
, property);
System.ServiceModel (4)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (2)
491
if (!string.IsNullOrEmpty(link.
MediaType
) && !link.AttributeExtensions.ContainsKey(Atom10Type))
493
writer.WriteAttributeString(Atom10Constants.TypeTag, link.
MediaType
);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (2)
1442
if (link.
MediaType
!= null && !link.AttributeExtensions.ContainsKey(Rss20Type))
1444
writer.WriteAttributeString(Rss20Constants.TypeTag, Rss20Constants.Rss20Namespace, link.
MediaType
);