ORM Sample Class Library

CollectionTemplate Members

CollectionTemplate overview

Public Instance Constructors

CollectionTemplate Constructor Sets the colletions type of contents

Public Instance Properties

Count (inherited from CollectionBase)Gets the number of elements contained in the CollectionBase instance.
Site IComponent implemetation

Public Instance Methods

Clear (inherited from CollectionBase)Removes all objects from the CollectionBase instance.
Dispose IComponent implemetation
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetEnumerator (inherited from CollectionBase)Returns an enumerator that can iterate through the CollectionBase instance.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
IndexOf Determines the index of a specific item in the Collection.
OnListChanged Use to Manually fire the event
Remove Removes an object from the collection
RemoveAt (inherited from CollectionBase)Removes the element at the specified index of the CollectionBase instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Public Instance Events

Disposed IComponent implemetation
ListChanged Raised when the list changes.

Protected Instance Properties

InnerList (inherited from CollectionBase)Gets an ArrayList containing the list of elements in the CollectionBase instance.
List (inherited from CollectionBase)Gets an IList containing the list of elements in the CollectionBase instance.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
Match Provides the Match method to all inherited classes.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnClear 
OnClearComplete 
OnInsert (inherited from CollectionBase) Performs additional custom processes before inserting a new element into the CollectionBase instance.
OnInsertComplete 
OnRemove (inherited from CollectionBase)Performs additional custom processes when removing an element from the CollectionBase instance.
OnRemoveComplete 
OnSet (inherited from CollectionBase) Performs additional custom processes before setting a value in the CollectionBase instance.
OnSetComplete 
OnValidate (inherited from CollectionBase)Performs additional custom processes when validating a value.

Protected Internal Instance Fields

addMethod 
componentSite 
finalType 
newMethod 

Protected Internal Instance Methods

OnPropertyChanged Raises the ListChanged event.

Explicit Interface Implementations

IBindingList.AddIndex 
IBindingList.AddNew If the parent is supplied ( a parent or the datamanger ) then it will be used to create a new object, providing the object has no parameters on its constructor.
IBindingList.ApplySort 
IBindingList.Find 
IBindingList.RemoveIndex 
IBindingList.RemoveSort 
ICollection.CopyTo (inherited from CollectionBase) 
IList.Add (inherited from CollectionBase) 
IList.Contains (inherited from CollectionBase) 
IList.IndexOf (inherited from CollectionBase) 
IList.Insert (inherited from CollectionBase) 
IList.Remove (inherited from CollectionBase) 
ITypedList.GetItemProperties Allows the override of the default behaivour of SqlTypes to their native equivalent
ITypedList.GetListName Used for DataGridTableStyle

See Also

CollectionTemplate Class | OrmLib Namespace


ethod.gif">IList.IndexOf (inherited from CollectionBase