| |
Code Generator Examples |
|   | Collections |
|   | CollectionBase Example |
|   | A Code Generator Example article demonstrating how to use a generated source code
collection class that derives from the CollectionBase abstract base class. The
article discusses and demonstrates, with sample code, how to instantiate an instance of the
collection class and how to use and call its main members. Both the CollectionBase
Standard and the CollectionBase Generic API Support generated source
code classes are discussed and demonstrated in the article. |
|   | read article... |
|   |
|   | DictionaryBase Example |
|   | A Code Generator Example article demonstrating how to use a generated source code
collection class that derives from the DictionaryBase abstract base class. The
article discusses and demonstrates, with sample code, how to instantiate an instance of the
collection class and how to use and call its main members. |
|   | read article... |
|   |
|   | NameObjectCollectionBase Example |
|   | A Code Generator Example article demonstrating how to use a generated source code
collection class that derives from the NameObjectCollectionBase abstract base
class. The article discusses and demonstrates, with sample code, how to instantiate an
instance of the collection class and how to use and call its main members. Both the
NameObjectCollectionBase Standard and the
NameObjectCollectionBase Generic API Support generated source code
classes are discussed and demonstrated in the article. |
|   | read article... |
|   |
|   | Collection(T) Standard Example |
|   | A Code Generator Example article demonstrating how to use a generated source code
collection class that derives from the Collection<T> base class. The
article discusses and demonstrates, with sample code, the Collection<T>
Standard generated collection class. Sample code illustrates how to instantiate an
instance and how to use and call the instance's main members. The read only and
thread-safe wrapper classes are also discussed and demonstrated. |
|   | read article... |
|   |
|   | Collection(T) Sort/Search Example |
|   | A Code Generator Example article demonstrating how to use a generated source code
collection class that derives from the Collection<T> base class. The
article discusses and demonstrates, with sample code, the Collection<T>
Sort/Search generated collection class. Collection<T> Sort/Search
includes all the functionality of the Collection<T> Standard generated class and adds
sorting, reversing and binary search capabilities. |
|   | read article... |
|   |
|   | Collection(T) Observable Example |
|   | A Code Generator Example article demonstrating how to use a generated source code
collection class that derives from the Collection<T> base class. The
article discusses and demonstrates, with sample code, the Collection<T>
Observable generated collection class. Collection<T>
Observable includes all the functionality of the Collection<T>
Standard generated class and adds change notification events that are compatible
with version 2.0 of the .Net Framework. |
|   | read article... |
|   |
|   | BindingList(T) Standard Example |
|   | A Code Generator Example article demonstrating how to use a generated source code
collection class that derives from the BindingList<T> base class. The
article discusses and demonstrates, with sample code, the BindingList<T>
Standard generated collection class. The generated
BindingList<T> derived collection class provides two-way data binding,
sorting and searching functionality. |
|   | read article... |
|   |
|   | KeyedCollection(TKey, TItem) |
|   | A Code Generator Example article demonstrating how to use a generated source code
collection class that derives from the KeyedCollection<TKey, ITem>
abstract base class. The article discusses and demonstrates, with sample code, the
KeyedCollection<TKey, TItem> Standard generated collection class.
Sample code demonstrates how to instantiate an instance, how to use and call the
instance's main members and how to retrieve and use the, nested, read only and thread-safe wrapper classes. |
|   | read article... |
|   |
|   | Comparers |
|   | Comparer Examples |
|   | A Code Generator Example article demonstrating how to use the generated source code
comparer classes with collections and lists. The article demonstrates, with
sample code, how to generate and use the following generated comparer classes:
StringItemComparer
Provides a concrete comparer class to compare string items in a culture and case specific way in either ascending or descending order.
ItemComparer<T>
Provides a, relatively, simple comparer that can be constructed to compare either a value type or a reference type in either ascending or descending order.
PropertyComparer<T>
Provides a comparer class that can compare any property of the constructed type in either ascending or descending order.
PropertyEqualityComparer<T>
Provides an equality comparer that can compare the constructed type or any property of the constructed type. |
|   | read article... |
|   |