IEnumerable<T> Extension

Location

Instance Methods


Any<T>

 

method Any<T>: Boolean

 

Boolean Any<T>()

 

func Any<T>() -> Boolean

 

Boolean Any<T>()

Any<T> (not nullable Func<not nullable T, Boolean>): Boolean

 

method Any<T>(aBlock: not nullable Func<not nullable T, Boolean>): Boolean

 

Boolean Any<T>(Func<T!, Boolean>! aBlock)

 

func Any<T>(_ aBlock: Func<T, Boolean>) -> Boolean

 

Boolean Any<T>(Func2<not nullable T, Boolean>! aBlock)

Parameters:

  • aBlock:

array<T> iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, watchOS, watchOS Simulator

 

method array<T>: not nullable NSArray<T>

 

NSArray<T>! array<T>()

 

func array<T>() -> NSArray<T>

 

NSArray<T>! array<T>()

Concat<T>

 

method Concat<T>(aSecond: not nullable IEnumerable<T>): IEnumerable<T>

 

IEnumerable<T> Concat<T>(IEnumerable<T>! aSecond)

 

func Concat<T>(_ aSecond: IEnumerable<T>) -> IEnumerable<T>

 

IEnumerable<T> Concat<T>(IEnumerable<T>! aSecond)

Parameters:

  • aSecond:

Contains<T>

 

method Contains<T>(aItem: T): Boolean

 

Boolean Contains<T>(T aItem)

 

func Contains<T>(_ aItem: T) -> Boolean

 

Boolean Contains<T>(T aItem)

Parameters:

  • aItem:

Count<T> (not nullable Func<not nullable T, Boolean>): Int32

 

method Count<T>(aCondition: not nullable Func<not nullable T, Boolean>): Int32

 

Int32 Count<T>(Func<T!, Boolean>! aCondition)

 

func Count<T>(_ aCondition: Func<T, Boolean>) -> Int32

 

Int32 Count<T>(Func2<not nullable T, Boolean>! aCondition)

Parameters:

  • aCondition:

Count<T>

 

method Count<T>: Int32

 

Int32 Count<T>()

 

func Count<T>() -> Int32

 

Int32 Count<T>()

Distinct<T>

 

method Distinct<T>(aComparator: Func<T, T, Int32>): IEnumerable<T>

 

IEnumerable<T> Distinct<T>(Func<T, T, Int32> aComparator)

 

func Distinct<T>(_ aComparator: Func<T, T, Int32>) -> IEnumerable<T>

 

IEnumerable<T> Distinct<T>(Func3<T, T, Int32> aComparator)

Parameters:

  • aComparator:

Except<T>

 

method Except<T>(aSecond: not nullable IEnumerable<T>; aComparator: Func<T, T, Int32>): IEnumerable<T>

 

IEnumerable<T> Except<T>(IEnumerable<T>! aSecond, Func<T, T, Int32> aComparator)

 

func Except<T>(_ aSecond: IEnumerable<T>, _ aComparator: Func<T, T, Int32>) -> IEnumerable<T>

 

IEnumerable<T> Except<T>(IEnumerable<T>! aSecond, Func3<T, T, Int32> aComparator)

Parameters:

  • aSecond:
  • aComparator:

FirstOrDefault<T> (not nullable Func<not nullable T, Boolean>): nullable T

 

method FirstOrDefault<T>(aBlock: not nullable Func<not nullable T, Boolean>): nullable T

 

T? FirstOrDefault<T>(Func<T!, Boolean>! aBlock)

 

func FirstOrDefault<T>(_ aBlock: Func<T, Boolean>) -> T?

 

T? FirstOrDefault<T>(Func2<not nullable T, Boolean>! aBlock)

Parameters:

  • aBlock:

FirstOrDefault<T>

 

method FirstOrDefault<T>: nullable T

 

T? FirstOrDefault<T>()

 

func FirstOrDefault<T>() -> T?

 

T? FirstOrDefault<T>()

Intersect<T>

 

method Intersect<T>(aSecond: not nullable IEnumerable<T>; aComparator: Func<T, T, Int32>): IEnumerable<T>

 

IEnumerable<T> Intersect<T>(IEnumerable<T>! aSecond, Func<T, T, Int32> aComparator)

 

func Intersect<T>(_ aSecond: IEnumerable<T>, _ aComparator: Func<T, T, Int32>) -> IEnumerable<T>

 

IEnumerable<T> Intersect<T>(IEnumerable<T>! aSecond, Func3<T, T, Int32> aComparator)

Parameters:

  • aSecond:
  • aComparator:

Max<T,U>

 

method Max<T,U>(aBlock: not nullable Func<not nullable T, U>): nullable U

 

U? Max<T,U>(Func<T!, U>! aBlock)

 

func Max<T,U>(_ aBlock: Func<T, U>) -> U?

 

U? Max<T,U>(Func2<not nullable T, U>! aBlock)

Parameters:

  • aBlock:

Max<T>

 

method Max<T>: nullable T

 

T? Max<T>()

 

func Max<T>() -> T?

 

T? Max<T>()

Min<T,U>

 

method Min<T,U>(aBlock: not nullable Func<not nullable T, U>): nullable U

 

U? Min<T,U>(Func<T!, U>! aBlock)

 

func Min<T,U>(_ aBlock: Func<T, U>) -> U?

 

U? Min<T,U>(Func2<not nullable T, U>! aBlock)

Parameters:

  • aBlock:

Min<T>

 

method Min<T>: nullable T

 

T? Min<T>()

 

func Min<T>() -> T?

 

T? Min<T>()

OrderBy<C,T>

 

method OrderBy<C,T>(aBlock: not nullable Func<not nullable T, C>): IEnumerable<T>

 

IEnumerable<T> OrderBy<C,T>(Func<T!, C>! aBlock)

 

func OrderBy<C,T>(_ aBlock: Func<T, C>) -> IEnumerable<T>

 

IEnumerable<T> OrderBy<C,T>(Func2<not nullable T, C>! aBlock)

Parameters:

  • aBlock:

OrderByDescending<C,T>

 

method OrderByDescending<C,T>(aBlock: not nullable Func<not nullable T, C>): IEnumerable<T>

 

IEnumerable<T> OrderByDescending<C,T>(Func<T!, C>! aBlock)

 

func OrderByDescending<C,T>(_ aBlock: Func<T, C>) -> IEnumerable<T>

 

IEnumerable<T> OrderByDescending<C,T>(Func2<not nullable T, C>! aBlock)

Parameters:

  • aBlock:

Reverse<T>

 

method Reverse<T>: IEnumerable<T>

 

IEnumerable<T> Reverse<T>()

 

func Reverse<T>() -> IEnumerable<T>

 

IEnumerable<T> Reverse<T>()

Select<T,U>

 

method Select<T,U>(aBlock: not nullable Func<not nullable T, U>): IEnumerable<U>

 

IEnumerable<U> Select<T,U>(Func<T!, U>! aBlock)

 

func Select<T,U>(_ aBlock: Func<T, U>) -> IEnumerable<U>

 

IEnumerable<U> Select<T,U>(Func2<not nullable T, U>! aBlock)

Parameters:

  • aBlock:

Skip<T>

 

method Skip<T>(aCount: Int32): IEnumerable<T>

 

IEnumerable<T> Skip<T>(Int32 aCount)

 

func Skip<T>(_ aCount: Int32) -> IEnumerable<T>

 

IEnumerable<T> Skip<T>(Int32 aCount)

Parameters:

  • aCount:

SkipWhile<T>

 

method SkipWhile<T>(aBlock: not nullable Func<not nullable T, Boolean>): IEnumerable<T>

 

IEnumerable<T> SkipWhile<T>(Func<T!, Boolean>! aBlock)

 

func SkipWhile<T>(_ aBlock: Func<T, Boolean>) -> IEnumerable<T>

 

IEnumerable<T> SkipWhile<T>(Func2<not nullable T, Boolean>! aBlock)

Parameters:

  • aBlock:

Take<T>

 

method Take<T>(aCount: Int32): IEnumerable<T>

 

IEnumerable<T> Take<T>(Int32 aCount)

 

func Take<T>(_ aCount: Int32) -> IEnumerable<T>

 

IEnumerable<T> Take<T>(Int32 aCount)

Parameters:

  • aCount:

TakeWhile<T>

 

method TakeWhile<T>(aBlock: not nullable Func<not nullable T, Boolean>): IEnumerable<T>

 

IEnumerable<T> TakeWhile<T>(Func<T!, Boolean>! aBlock)

 

func TakeWhile<T>(_ aBlock: Func<T, Boolean>) -> IEnumerable<T>

 

IEnumerable<T> TakeWhile<T>(Func2<not nullable T, Boolean>! aBlock)

Parameters:

  • aBlock:

ToArray<T>

 

method ToArray<T>: not nullable array of T

 

T[]! ToArray<T>()

 

func ToArray<T>() -> T...

 

T[]! ToArray<T>()

ToList<T>

 

method ToList<T>: not nullable List<T>

 

List<T>! ToList<T>()

 

func ToList<T>() -> List<T>

 

List<T>! ToList<T>()

Where<T>

 

method Where<T>(aBlock: not nullable Func<not nullable T, Boolean>): IEnumerable<T>

 

IEnumerable<T> Where<T>(Func<T!, Boolean>! aBlock)

 

func Where<T>(_ aBlock: Func<T, Boolean>) -> IEnumerable<T>

 

IEnumerable<T> Where<T>(Func2<not nullable T, Boolean>! aBlock)

Parameters:

  • aBlock: