Show / Hide Table of Contents

Class TypeList<TBaseType>

Inheritance
object
TypeList<TBaseType>
TypeList
DataSeedContributorList
Implements
ITypeList<TBaseType>
IList<Type>
ICollection<Type>
IEnumerable<Type>
IEnumerable
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Collections
Assembly: Volo.Abp.Core.dll
Syntax
public class TypeList<TBaseType> : ITypeList<TBaseType>, IList<Type>, ICollection<Type>, IEnumerable<Type>, IEnumerable
Type Parameters
Name Description
TBaseType

Constructors

TypeList()

Declaration
public TypeList()

Properties

Count

Declaration
public int Count { get; }
Property Value
Type Description
int

IsReadOnly

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

this[int]

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

Methods

Add(Type)

Declaration
public void Add(Type item)
Parameters
Type Name Description
Type item

Add<T>()

Declaration
public void Add<T>() where T : TBaseType
Type Parameters
Name Description
T

Clear()

Declaration
public void Clear()

Contains(Type)

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

Contains<T>()

Declaration
public bool Contains<T>() where T : TBaseType
Returns
Type Description
bool
Type Parameters
Name Description
T

CopyTo(Type[], int)

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

GetEnumerator()

Declaration
public IEnumerator<Type> GetEnumerator()
Returns
Type Description
IEnumerator<Type>

IndexOf(Type)

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

Insert(int, Type)

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

Remove(Type)

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

RemoveAt(int)

Declaration
public void RemoveAt(int index)
Parameters
Type Name Description
int index

Remove<T>()

Declaration
public void Remove<T>() where T : TBaseType
Type Parameters
Name Description
T

TryAdd<T>()

Declaration
public bool TryAdd<T>() where T : TBaseType
Returns
Type Description
bool
Type Parameters
Name Description
T

Implements

ITypeList<TBaseType>
IList<T>
ICollection<T>
IEnumerable<T>
IEnumerable

Extension Methods

AbpCollectionExtensions.AddIfNotContains<T>(ICollection<T>, IEnumerable<T>)
AbpCollectionExtensions.AddIfNotContains<T>(ICollection<T>, Func<T, bool>, Func<T>)
AbpCollectionExtensions.AddIfNotContains<T>(ICollection<T>, T)
AbpCollectionExtensions.IsNullOrEmpty<T>(ICollection<T>?)
AbpCollectionExtensions.RemoveAll<T>(ICollection<T>, IEnumerable<T>)
AbpCollectionExtensions.RemoveAll<T>(ICollection<T>, Func<T, bool>)
AbpEnumerableExtensions.JoinAsString<T>(IEnumerable<T>, string)
AbpEnumerableExtensions.WhereIf<T>(IEnumerable<T>, bool, Func<T, bool>)
AbpEnumerableExtensions.WhereIf<T>(IEnumerable<T>, bool, Func<T, int, bool>)
AbpListExtensions.SortByDependencies<T>(IEnumerable<T>, Func<T, IEnumerable<T>>, IEqualityComparer<T>?)
AbpListExtensions.AddFirst<T>(IList<T>, T)
AbpListExtensions.AddLast<T>(IList<T>, T)
AbpListExtensions.FindIndex<T>(IList<T>, Predicate<T>)
AbpListExtensions.GetOrAdd<T>(IList<T>, Func<T, bool>, Func<T>)
AbpListExtensions.InsertAfter<T>(IList<T>, Predicate<T>, T)
AbpListExtensions.InsertAfter<T>(IList<T>, T, T)
AbpListExtensions.InsertBefore<T>(IList<T>, Predicate<T>, T)
AbpListExtensions.InsertBefore<T>(IList<T>, T, T)
AbpListExtensions.InsertRange<T>(IList<T>, int, IEnumerable<T>)
AbpListExtensions.ReplaceOne<T>(IList<T>, Predicate<T>, Func<T, T>)
AbpListExtensions.ReplaceOne<T>(IList<T>, Predicate<T>, T)
AbpListExtensions.ReplaceOne<T>(IList<T>, T, T)
AbpListExtensions.ReplaceWhile<T>(IList<T>, Predicate<T>, Func<T, T>)
AbpListExtensions.ReplaceWhile<T>(IList<T>, Predicate<T>, T)
AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform