A .NET library with collections: The Cache class can be used to cache any kind of .NET or COM objects. A background thread removes unneeded entries. DictionaryList represents a collection of key-and-value pairs accessible by key and in addition by index.
Be the first to post a text review of Eiselt .NET Classes. Rate and review a project by clicking thumbs up or thumbs down in the right column.
eiselt.collections is a .NET library for developers. Its written in C# with Visual Studio .NET 2005 and Framework 2.0 is needed. At the moment the library contains three public classes. The eiselt.collections.cache class was written to replace ASPCache of Webgecko (see http://www.webgecko.com/products/aspcache/) in same of my old IIS applications based Active Server Pages. The classes eiselt.collections.DictionaryList and eiselt.collections.DictionaryListMoveable where written to replace VB6 Type Collection when upgrading to VB.NET. eiselt.collections.Cache class: The Cache class implements an object cache for web or other applications. It can be used in any .NET-Application to cache any type of objects. Cache also has a COM-interface so it can be used in any type of application allowing COM-Objects (IIS based Active Server Pages, Visual Studio Applications, VBScript, etc.). Cache is safe for multithreaded operations. In multithreaded applications the saved object should also be thread save or solely been accessed by read operations. Items can be added, retrieved or removed from the cache. In addition the class supports update operations on cached items. It's possible to set the items value and to specify item expirations. There are to different type of expiration: Sliding expiration and absolute expiration. With the sliding expiration the interval between the time the added object was last accessed and when that object expires can be set. With absolute expiration it's possible to specify the date/time value at which the cached element expires and is removed from the cache. In addition the maximum amount of elements in cache can be limited. eiselt.collections.DictionaryList class: Represents a collection of key-and-value pairs accessible by key and by index. The elements in DictionaryList can be sorted by the key or by using a specified IComparer interface. DictionaryList is a hybrid between a Hashtable and an Array. When an element is accessed by its key using the Item indexer property, it behaves like a Hashtable. When an element is accessed by its index using GetByIndex or SetByIndex, it behaves like an Array. The DictionaryList has almost the same functionality than the System.Collections.SortedList, but there are 2 major differences: The element order of a DictionaryList is the insert order. Elements are not automatically sorted by the key. To sort the elements Sort method must be invoked. The System.Collections.SortedList is always sorted by the key. DictionaryList can be sorted by key or by value. To sort by value the Sort method must by called with an instance of a class implementing IComparer interface. eiselt.collections.DictionaryListMoveable class: DictionaryListMoveable is a DictionaryList with additional move functions known from classes like ADO Recordset (EOF, BOF, MoveIndex, MoveFirst, MoveNext, ...).
No changes
No changes
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?