6 instantiations of SyndicationItem
System.Data.Services (3)
System\Data\Services\Serializers\SyndicationSerializer.cs (3)
163
this.resultItem = new
SyndicationItem
();
652
SyndicationItem target = new
SyndicationItem
();
1118
SyndicationItem inlineItem = new
SyndicationItem
();
System.ServiceModel (3)
System\ServiceModel\Syndication\SyndicationFeed.cs (1)
320
return new
SyndicationItem
();
System\ServiceModel\Syndication\SyndicationItem.cs (1)
246
return new
SyndicationItem
(this);
System\ServiceModel\Syndication\SyndicationItemFormatter.cs (1)
78
return new
SyndicationItem
();
142 references to SyndicationItem
System.Data.Services (48)
System\Data\Services\Epm\EpmContentDeSerializer.cs (2)
45
/// <param name="item"><see cref="
SyndicationItem
"/> to deserialize</param>
47
internal void DeSerialize(
SyndicationItem
item, EpmContentDeserializerState state)
System\Data\Services\Epm\EpmContentDeSerializerBase.cs (5)
24
/// <summary><see cref="
SyndicationItem
"/> from which to read EPM content</summary>
25
private readonly
SyndicationItem
item;
31
/// <param name="item"><see cref="
SyndicationItem
"/> from which to read EPM content</param>
33
internal EpmContentDeSerializerBase(
SyndicationItem
item, EpmContentDeSerializer.EpmContentDeserializerState state)
76
protected
SyndicationItem
Item
System\Data\Services\Epm\EpmContentSerializer.cs (2)
45
private
SyndicationItem
targetItem;
57
internal EpmContentSerializer(ResourceType resourceType, Object value,
SyndicationItem
targetItem, DataServiceProviderWrapper provider)
System\Data\Services\Epm\EpmContentSerializerBase.cs (2)
62
protected EpmContentSerializerBase(EpmTargetTree tree, bool isSyndication, object element,
SyndicationItem
target)
89
protected
SyndicationItem
Target
System\Data\Services\Epm\EpmCustomContentDeSerializer.cs (2)
29
/// <param name="item"><see cref="
SyndicationItem
"/> to read content from</param>
31
internal EpmCustomContentDeSerializer(
SyndicationItem
item, EpmContentDeSerializer.EpmContentDeserializerState state)
System\Data\Services\Epm\EpmCustomContentSerializer.cs (1)
61
internal EpmCustomContentSerializer(EpmTargetTree targetTree, object element,
SyndicationItem
target, EpmContentSerializer.EpmNullValuedPropertyTree nullValuedProperties, DataServiceProviderWrapper provider)
System\Data\Services\Epm\EpmCustomContentWriterNodeData.cs (1)
145
internal void AddContentToTarget(
SyndicationItem
target)
System\Data\Services\Epm\EpmSyndicationContentDeSerializer.cs (2)
26
/// <param name="item"><see cref="
SyndicationItem
"/> to read content from</param>
28
internal EpmSyndicationContentDeSerializer(
SyndicationItem
item, EpmContentDeSerializer.EpmContentDeserializerState state)
System\Data\Services\Epm\EpmSyndicationContentSerializer.cs (1)
54
internal EpmSyndicationContentSerializer(EpmTargetTree tree, object element,
SyndicationItem
target, EpmContentSerializer.EpmNullValuedPropertyTree nullValuedProperties)
System\Data\Services\Serializers\Atom10FormatterFactory.cs (2)
59
/// <param name="itemToWrite">The <see cref="
SyndicationItem
"/> to serialize.</param>
61
internal override SyndicationItemFormatter CreateSyndicationItemFormatter(
SyndicationItem
itemToWrite)
System\Data\Services\Serializers\SyndicationDeserializer.cs (11)
87
SyndicationItem
item = ReadSyndicationItem(this.factory.CreateSyndicationItemFormatter(), this.xmlReader);
117
private static bool HasContent(
SyndicationItem
item)
125
private static string SyndicationItemGetType(
SyndicationItem
item)
158
private static
SyndicationItem
ReadSyndicationItem(SyndicationItemFormatter formatter, XmlReader reader)
223
private static XmlReader GetPropertiesReaderFromEntry(
SyndicationItem
item)
239
private static XmlReader GetPropertiesReaderFromContent(
SyndicationItem
item)
290
private void ApplyProperties(
SyndicationItem
item, ResourceType resourceType, EpmContentDeSerializer.EpmAppliedPropertyInfo propertiesApplied, object resource)
344
private object CreateObject(SegmentInfo segmentInfo, bool topLevel,
SyndicationItem
item)
534
private ResourceType GetResourceType(
SyndicationItem
item, ResourceType expectedType)
640
SyndicationItem
propertyItem;
662
foreach (
SyndicationItem
item in propertyFeed.Items)
System\Data\Services\Serializers\SyndicationFormatterFactory.cs (4)
47
/// <see cref="
SyndicationItem
"/> instance.
49
/// <param name="itemToWrite">The <see cref="
SyndicationItem
"/> to serialize.</param>
52
/// <see cref="
SyndicationItem
"/> instance.
54
internal abstract SyndicationItemFormatter CreateSyndicationItemFormatter(
SyndicationItem
itemToWrite);
System\Data\Services\Serializers\SyndicationSerializer.cs (13)
56
/// <summary>Last updated time for <see cref="
SyndicationItem
"/> elements.</summary>
70
private
SyndicationItem
resultItem;
135
internal static void WriteDeferredContentElement(string linkRelation, string title, string href, string linkType,
SyndicationItem
item)
318
private static void SetEntryTypeName(
SyndicationItem
item, string fullName)
332
private static void WriteLinkRelations(string title, string linkRelation, string relativeUri,
SyndicationItem
item, params KeyValuePair<XmlQualifiedName, string>[] attributeExtensions)
449
private void WriteEntryElement(IExpandedResult expanded, object element, ResourceType expectedType, Uri absoluteUri, string relativeUri,
SyndicationItem
target)
630
private IEnumerable<
SyndicationItem
> DeferredFeedItems(
652
SyndicationItem
target = new SyndicationItem();
698
private void WriteOtherElements(object element, ResourceType type, string title, Uri absoluteUri, string relativeUri, string mediaETag,
SyndicationItem
item)
745
private void WriteObjectProperties(IExpandedResult expanded, object customObject, ResourceType resourceType, Uri absoluteUri, string relativeUri,
SyndicationItem
item, DictionaryContent content, EpmSourcePathSegment currentSourceRoot)
1118
SyndicationItem
inlineItem = new SyndicationItem();
1183
private
SyndicationItem
item;
1193
internal InlineAtomItem(
SyndicationItem
item, SyndicationFormatterFactory factory)
System.ServiceModel (92)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (17)
275
internal void ReadItemFrom(XmlReader reader,
SyndicationItem
result)
335
internal bool TryParseItemElementFrom(XmlReader reader,
SyndicationItem
result)
453
internal void WriteItemContents(XmlWriter dictWriter,
SyndicationItem
item)
516
protected virtual
SyndicationItem
ReadItem(XmlReader reader, SyndicationFeed feed)
526
SyndicationItem
item = CreateItem(feed);
534
protected virtual IEnumerable<
SyndicationItem
> ReadItems(XmlReader reader, SyndicationFeed feed, out bool areAllItemsRead)
544
NullNotAllowedCollection<
SyndicationItem
> items = new NullNotAllowedCollection<
SyndicationItem
>();
553
protected virtual void WriteItem(XmlWriter writer,
SyndicationItem
item, Uri feedBaseUri)
562
protected virtual void WriteItems(XmlWriter writer, IEnumerable<
SyndicationItem
> items, Uri feedBaseUri)
568
foreach (
SyndicationItem
item in items)
705
SyndicationCategory ReadCategoryFrom(XmlReader reader,
SyndicationItem
item)
712
SyndicationContent ReadContentFrom(XmlReader reader,
SyndicationItem
item)
901
void ReadItemFrom(XmlReader reader,
SyndicationItem
result, Uri feedBaseUri)
1092
SyndicationLink ReadLinkFrom(XmlReader reader,
SyndicationItem
item)
1106
SyndicationPerson ReadPersonFrom(XmlReader reader,
SyndicationItem
item)
1264
void WriteItemContents(XmlWriter dictWriter,
SyndicationItem
item, Uri feedBaseUri)
System\ServiceModel\Syndication\Atom10ItemFormatter.cs (6)
28
: this(typeof(
SyndicationItem
))
39
if (!typeof(
SyndicationItem
).IsAssignableFrom(itemTypeToCreate))
50
public Atom10ItemFormatter(
SyndicationItem
itemToWrite)
156
protected override
SyndicationItem
CreateItemInstance()
181
where TSyndicationItem :
SyndicationItem
, new ()
193
protected override
SyndicationItem
CreateItemInstance()
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (14)
189
internal void ReadItemFrom(XmlReader reader,
SyndicationItem
result)
194
internal void WriteItemContents(XmlWriter writer,
SyndicationItem
item)
204
protected virtual
SyndicationItem
ReadItem(XmlReader reader, SyndicationFeed feed)
214
SyndicationItem
item = CreateItem(feed);
222
protected virtual IEnumerable<
SyndicationItem
> ReadItems(XmlReader reader, SyndicationFeed feed, out bool areAllItemsRead)
232
NullNotAllowedCollection<
SyndicationItem
> items = new NullNotAllowedCollection<
SyndicationItem
>();
241
protected virtual void WriteItem(XmlWriter writer,
SyndicationItem
item, Uri feedBaseUri)
250
protected virtual void WriteItems(XmlWriter writer, IEnumerable<
SyndicationItem
> items, Uri feedBaseUri)
256
foreach (
SyndicationItem
item in items)
517
SyndicationCategory ReadCategory(XmlReader reader,
SyndicationItem
item)
569
void ReadItemFrom(XmlReader reader,
SyndicationItem
result, Uri feedBaseUri)
821
SyndicationPerson ReadPerson(XmlReader reader,
SyndicationItem
item)
1221
void WriteItemContents(XmlWriter writer,
SyndicationItem
item, Uri feedBaseUri)
System\ServiceModel\Syndication\Rss20ItemFormatter.cs (7)
29
: this(typeof(
SyndicationItem
))
40
if (!typeof(
SyndicationItem
).IsAssignableFrom(itemTypeToCreate))
52
public Rss20ItemFormatter(
SyndicationItem
itemToWrite)
57
public Rss20ItemFormatter(
SyndicationItem
itemToWrite, bool serializeExtensionsAsAtom)
174
protected override
SyndicationItem
CreateItemInstance()
199
where TSyndicationItem :
SyndicationItem
, new ()
214
protected override
SyndicationItem
CreateItemInstance()
System\ServiceModel\Syndication\SyndicationFeed.cs (12)
33
IEnumerable<
SyndicationItem
> items;
40
: this((IEnumerable<
SyndicationItem
>) null)
44
public SyndicationFeed(IEnumerable<
SyndicationItem
> items)
54
public SyndicationFeed(string title, string description, Uri feedAlternateLink, IEnumerable<
SyndicationItem
> items)
64
public SyndicationFeed(string title, string description, Uri feedAlternateLink, string id, DateTimeOffset lastUpdatedTime, IEnumerable<
SyndicationItem
> items)
103
IList<
SyndicationItem
> srcList = source.items as IList<
SyndicationItem
>;
106
Collection<
SyndicationItem
> tmp = new NullNotAllowedCollection<
SyndicationItem
>();
206
public IEnumerable<
SyndicationItem
> Items
212
this.items = new NullNotAllowedCollection<
SyndicationItem
>();
318
protected internal virtual
SyndicationItem
CreateItem()
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (12)
68
internal static protected SyndicationCategory CreateCategory(
SyndicationItem
item)
77
internal static protected
SyndicationItem
CreateItem(SyndicationFeed feed)
83
return GetNonNullValue<
SyndicationItem
>(feed.CreateItem(), SR.FeedCreatedNullItem);
95
internal static protected SyndicationLink CreateLink(
SyndicationItem
item)
113
internal static protected SyndicationPerson CreatePerson(
SyndicationItem
item)
131
internal static protected void LoadElementExtensions(XmlReader reader,
SyndicationItem
item, int maxExtensionSize)
180
internal static protected bool TryParseAttribute(string name, string ns, string value,
SyndicationItem
item, string version)
232
internal static protected bool TryParseContent(XmlReader reader,
SyndicationItem
item, string contentType, string version, out SyndicationContent content)
246
internal static protected bool TryParseElement(XmlReader reader,
SyndicationItem
item, string version)
291
internal static protected void WriteAttributeExtensions(XmlWriter writer,
SyndicationItem
item, string version)
336
internal static protected void WriteElementExtensions(XmlWriter writer,
SyndicationItem
item, string version)
425
internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer,
SyndicationItem
item)
System\ServiceModel\Syndication\SyndicationItem.cs (6)
66
protected SyndicationItem(
SyndicationItem
source)
85
this.sourceFeed.Items = new Collection<
SyndicationItem
>();
204
public static
SyndicationItem
Load(XmlReader reader)
206
return Load<
SyndicationItem
>(reader);
210
where TSyndicationItem :
SyndicationItem
, new ()
244
public virtual
SyndicationItem
Clone()
System\ServiceModel\Syndication\SyndicationItemFormatter.cs (18)
22
SyndicationItem
item;
29
protected SyndicationItemFormatter(
SyndicationItem
itemToWrite)
38
public
SyndicationItem
Item
60
internal protected virtual void SetItem(
SyndicationItem
item)
74
internal static
SyndicationItem
CreateItemInstance(Type itemType)
76
if (itemType.Equals(typeof(
SyndicationItem
)))
82
return (
SyndicationItem
)Activator.CreateInstance(itemType);
86
internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer,
SyndicationItem
item)
106
protected static SyndicationCategory CreateCategory(
SyndicationItem
item)
111
protected static SyndicationLink CreateLink(
SyndicationItem
item)
116
protected static SyndicationPerson CreatePerson(
SyndicationItem
item)
121
protected static void LoadElementExtensions(XmlReader reader,
SyndicationItem
item, int maxExtensionSize)
141
protected static bool TryParseAttribute(string name, string ns, string value,
SyndicationItem
item, string version)
162
protected static bool TryParseContent(XmlReader reader,
SyndicationItem
item, string contentType, string version, out SyndicationContent content)
168
protected static bool TryParseElement(XmlReader reader,
SyndicationItem
item, string version)
188
protected static void WriteAttributeExtensions(XmlWriter writer,
SyndicationItem
item, string version)
208
protected static void WriteElementExtensions(XmlWriter writer,
SyndicationItem
item, string version)
213
protected abstract
SyndicationItem
CreateItemInstance();
System.ServiceModel.Web (2)
AssemblyInfo.cs (1)
41
[assembly: TypeForwardedTo(typeof(System.ServiceModel.Syndication.
SyndicationItem
))]
System\ServiceModel\Web\WebOperationContext.cs (1)
176
public Message CreateAtom10Response(
SyndicationItem
item)