Class AbpEnumerableExtensions
Inheritance
object
AbpEnumerableExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: System.System.Collections.Generic
Assembly: Volo.Abp.Core.dll
Syntax
public static class AbpEnumerableExtensions
Methods
JoinAsString(IEnumerable<string>, string)
Declaration
public static string JoinAsString(this IEnumerable<string> source, string separator)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T><string> |
source |
|
string |
separator |
|
Returns
JoinAsString<T>(IEnumerable<T>, string)
Declaration
public static string JoinAsString<T>(this IEnumerable<T> source, string separator)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T><T> |
source |
|
string |
separator |
|
Returns
Type Parameters
WhereIf<T>(IEnumerable<T>, bool, Func<T, bool>)
Declaration
public static IEnumerable<T> WhereIf<T>(this IEnumerable<T> source, bool condition, Func<T, bool> predicate)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T><T> |
source |
|
bool |
condition |
|
System.Func<T, TResult><T, bool> |
predicate |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T><T> |
|
Type Parameters
WhereIf<T>(IEnumerable<T>, bool, Func<T, int, bool>)
Declaration
public static IEnumerable<T> WhereIf<T>(this IEnumerable<T> source, bool condition, Func<T, int, bool> predicate)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T><T> |
source |
|
bool |
condition |
|
System.Func<T1, T2, TResult><T, int, bool> |
predicate |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T><T> |
|
Type Parameters