Extending SyndicationExtensionDictionary

Topics: Argotic.Extensions
Sep 7, 2007 at 11:32 AM
Hi!
It would be nice if you add function similar to
public T Find<T>()
where T : SyndicationExtension, new()
{
T e = new T();
return (T)thise.Namespace;
}
to SyndicationExtensionDictionary.
It realy helps with quiring extensions. For example
f - RssFeed
VB.NET source code
code
f.Channel.Items(0).Extensions.Find(Of DublinCoreSyndicationExtension).Contributor
/code
Coordinator
Sep 7, 2007 at 8:04 PM
In the next release I will provide a SyndicationExtension Find(Predicate<SyndicationExtension> match) method and List<SyndicationExtension> FindAll(Predicate<SyndicationExtension> match) method to allow for easier searching.