Show / Hide Table of Contents

Class GenericCollectionBase<TElement>

Inheritance
object
CollectionBase
GenericCollectionBase<TElement>
ListInfoCollection
ModuleActionCollection
ModuleCommunicators
ModuleListeners
ProfilePropertyDefinitionCollection
RewriterRuleCollection
DesktopModulePermissionCollection
FolderPermissionCollection
ModulePermissionCollection
PortalPermissionCollection
TabPermissionCollection
AnalyticsRuleCollection
AnalyticsSettingCollection
EventMessageCollection
SearchContentModuleInfoCollection
Implements
IList
ICollection
IList<TElement>
ICollection<TElement>
IEnumerable<TElement>
IEnumerable
Inherited Members
CollectionBase.Clear()
CollectionBase.RemoveAt(int)
CollectionBase.GetEnumerator()
CollectionBase.OnSet(int, object, object)
CollectionBase.OnInsert(int, object)
CollectionBase.OnClear()
CollectionBase.OnRemove(int, object)
CollectionBase.OnValidate(object)
CollectionBase.OnSetComplete(int, object, object)
CollectionBase.OnInsertComplete(int, object)
CollectionBase.OnClearComplete()
CollectionBase.OnRemoveComplete(int, object)
CollectionBase.InnerList
CollectionBase.List
CollectionBase.Capacity
CollectionBase.Count
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Collections
Assembly: DotNetNuke.dll
Syntax
public abstract class GenericCollectionBase<TElement> : CollectionBase, IList, ICollection, IList<TElement>, ICollection<TElement>, IEnumerable<TElement>, IEnumerable
Type Parameters
Name Description
TElement

Constructors

GenericCollectionBase()

Declaration
protected GenericCollectionBase()

Properties

IsReadOnly

Declaration
public bool IsReadOnly { get; }
Property Value
Type Description
bool

this[int]

Declaration
public virtual TElement this[int index] { get; set; }
Parameters
Type Name Description
int index
Property Value
Type Description
TElement

Methods

Add(TElement)

Declaration
public int Add(TElement a)
Parameters
Type Name Description
TElement a
Returns
Type Description
int

Contains(TElement)

Declaration
public bool Contains(TElement item)
Parameters
Type Name Description
TElement item
Returns
Type Description
bool

CopyTo(TElement[], int)

Declaration
public void CopyTo(TElement[] array, int arrayIndex)
Parameters
Type Name Description
TElement[] array
int arrayIndex

IndexOf(TElement)

Declaration
public int IndexOf(TElement item)
Parameters
Type Name Description
TElement item
Returns
Type Description
int

Insert(int, TElement)

Declaration
public void Insert(int index, TElement item)
Parameters
Type Name Description
int index
TElement item

Remove(TElement)

Declaration
public bool Remove(TElement item)
Parameters
Type Name Description
TElement item
Returns
Type Description
bool

Implements

IList
ICollection
IList<T>
ICollection<T>
IEnumerable<T>
IEnumerable

Extension Methods

CollectionExtensions.ForEach<TType>(IEnumerable<TType>, Action<TType>)
PagingExtensions.InPagesOf<T>(IEnumerable<T>, int)
PagingExtensions.ToPagedList<T>(IEnumerable<T>, int, int)
JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS