A generic collection with the ability to check if it has been changed.

Namespace: BlogEngine.Core
Assembly:  BlogEngine.Core (in BlogEngine.Core.dll)
Version: 1.2.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
[SerializableAttribute]
public class StateCollection<T> : Collection<T>
<SerializableAttribute> _
Public Class StateCollection(Of T) _
	Inherits Collection(Of T)
[SerializableAttribute]
generic<typename T>
public ref class StateCollection : public Collection<T>

Type Parameters

T

Members

            
 All Members  Constructors Public method  Properties Public property  Methods Public method 
 Public

 Protected
 Instance

 Static Static member
 Declared

 Inherited
 XNA Framework Only Supported by the XNA Framework

 .NET Compact Framework Only Supported by the .NET Compact Framework

 MemberDescription
Public methodStateCollection<(Of <T>)>StateCollection<(Of <T>)>New()()
Public methodAdd(T)
Adds an object to the end of the Collection<(Of <T>)>.
(Inherited from Collection<(Of <T>)>.)
Public methodClear()()
Removes all elements from the Collection<(Of <T>)>.
(Inherited from Collection<(Of <T>)>.)
Protected methodClearItems()()
Removes all the items in the collection and marks it changed.
(Overrides Collection<(Of <T>)>..::ClearItems()().)
Public methodContains(T)
Determines whether an element is in the Collection<(Of <T>)>.
(Inherited from Collection<(Of <T>)>.)
Public methodCopyTo(array<T>[](), Int32)
Copies the entire Collection<(Of <T>)> to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from Collection<(Of <T>)>.)
Public propertyCount
Gets the number of elements actually contained in the Collection<(Of <T>)>.
(Inherited from Collection<(Of <T>)>.)
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator()()
Returns an enumerator that iterates through the Collection<(Of <T>)>.
(Inherited from Collection<(Of <T>)>.)
Public methodGetHashCode()()
Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodGetType()()
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf(T)
Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection<(Of <T>)>.
(Inherited from Collection<(Of <T>)>.)
Public methodInsert(Int32, T)
Inserts an element into the Collection<(Of <T>)> at the specified index.
(Inherited from Collection<(Of <T>)>.)
Protected methodInsertItem(Int32, T)
Inserts an element into the collection at the specified index and marks it changed.
(Overrides Collection<(Of <T>)>..::InsertItem(Int32, T).)
Public propertyIsChanged
Gets if this object's data has been changed.
Public propertyItem[([Int32])]
Gets or sets the element at the specified index.
(Inherited from Collection<(Of <T>)>.)
Protected propertyItems
Gets a List<(Of <T>)> wrapper around the Collection<(Of <T>)>.
(Inherited from Collection<(Of <T>)>.)
Protected methodMemberwiseClone()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove(T)
Removes the first occurrence of a specific object from the Collection<(Of <T>)>.
(Inherited from Collection<(Of <T>)>.)
Public methodRemoveAt(Int32)
Removes the element at the specified index of the Collection<(Of <T>)>.
(Inherited from Collection<(Of <T>)>.)
Protected methodRemoveItem(Int32)
Removes the element at the specified index and marks the collection changed.
(Overrides Collection<(Of <T>)>..::RemoveItem(Int32).)
Protected methodSetItem(Int32, T)
Replaces the element at the specified index and marks the collection changed.
(Overrides Collection<(Of <T>)>..::SetItem(Int32, T).)
Public methodToString()()
Returns a String that represents the current Object.
(Inherited from Object.)

Inheritance Hierarchy

System..::Object
  System.Collections.ObjectModel..::Collection<(Of <T>)>
    BlogEngine.Core..::StateCollection<(Of <T>)>

See Also

BlogEngine.Core Namespace