C# Class Pihrtsoft.Text.RegularExpressions.Linq.Extensions.EnumerableExtensions

Provides a set of static methods that extends the IEnumerable<T> whose generic type argument is Match or Group.
Mostra file Open project: JosefPihrt/LinqToRegex

Public Methods

Method Description
EnumerateCaptures ( this groups ) : IEnumerable

Returns an enumerable collection of captures.

EnumerateCaptures ( this matches ) : IEnumerable

Returns an enumerable collection of captures.

EnumerateCaptures ( this matches, int groupNumber ) : IEnumerable

Returns an enumerable collection of captures from groups that have a specified number.

EnumerateCaptures ( this matches, string groupName ) : IEnumerable

Returns an enumerable collection of captures from groups thas have a specified name.

EnumerateGroups ( this matches ) : IEnumerable

Returns an enumerable collection of groups.

EnumerateGroups ( this matches, int groupNumber ) : IEnumerable

Returns an enumerable collection of groups with a specified number.

EnumerateGroups ( this matches, string groupName ) : IEnumerable

Returns an enumerable collection of groups with a specified name.

EnumerateIndexes ( this captures ) : IEnumerable

Returns an enumerable collection of captures indexes.

EnumerateLengths ( this captures ) : IEnumerable

Returns enumerable collection of captures lengths.

EnumerateSuccessGroups ( this matches ) : IEnumerable

Returns an enumerable collection of groups that have at least one capture.

EnumerateSuccessGroups ( this matches, int groupNumber ) : IEnumerable

Returns an enumerable collection of groups that have a specified name and have at least one capture.

EnumerateSuccessGroups ( this matches, string groupName ) : IEnumerable

Returns an enumerable collection of groups thas have a specified name and have at least one capture.

EnumerateValues ( this captures ) : IEnumerable

Returns enumerable collection of captures values.

Method Details

EnumerateCaptures() public static method

Returns an enumerable collection of captures.
is null.
public static EnumerateCaptures ( this groups ) : IEnumerable
groups this The sequence to enumerate.
return IEnumerable

EnumerateCaptures() public static method

Returns an enumerable collection of captures.
is null.
public static EnumerateCaptures ( this matches ) : IEnumerable
matches this The sequence to enumerate.
return IEnumerable

EnumerateCaptures() public static method

Returns an enumerable collection of captures from groups that have a specified number.
is null.
public static EnumerateCaptures ( this matches, int groupNumber ) : IEnumerable
matches this The sequence to enumerate.
groupNumber int A number of the group.
return IEnumerable

EnumerateCaptures() public static method

Returns an enumerable collection of captures from groups thas have a specified name.
or is null.
public static EnumerateCaptures ( this matches, string groupName ) : IEnumerable
matches this The sequence to enumerate.
groupName string A name of the group.
return IEnumerable

EnumerateGroups() public static method

Returns an enumerable collection of groups.
is null.
public static EnumerateGroups ( this matches ) : IEnumerable
matches this The sequence to enumerate.
return IEnumerable

EnumerateGroups() public static method

Returns an enumerable collection of groups with a specified number.
is null.
public static EnumerateGroups ( this matches, int groupNumber ) : IEnumerable
matches this The sequence to enumerate.
groupNumber int A number of the group.
return IEnumerable

EnumerateGroups() public static method

Returns an enumerable collection of groups with a specified name.
or is null.
public static EnumerateGroups ( this matches, string groupName ) : IEnumerable
matches this The sequence to enumerate.
groupName string A name of the group.
return IEnumerable

EnumerateIndexes() public static method

Returns an enumerable collection of captures indexes.
is null.
public static EnumerateIndexes ( this captures ) : IEnumerable
captures this The sequence to enumerate.
return IEnumerable

EnumerateLengths() public static method

Returns enumerable collection of captures lengths.
is null.
public static EnumerateLengths ( this captures ) : IEnumerable
captures this The sequence to enumerate.
return IEnumerable

EnumerateSuccessGroups() public static method

Returns an enumerable collection of groups that have at least one capture.
is null.
public static EnumerateSuccessGroups ( this matches ) : IEnumerable
matches this The sequence to enumerate.
return IEnumerable

EnumerateSuccessGroups() public static method

Returns an enumerable collection of groups that have a specified name and have at least one capture.
is null.
public static EnumerateSuccessGroups ( this matches, int groupNumber ) : IEnumerable
matches this The sequence to enumerate.
groupNumber int A number of the group.
return IEnumerable

EnumerateSuccessGroups() public static method

Returns an enumerable collection of groups thas have a specified name and have at least one capture.
or is null.
public static EnumerateSuccessGroups ( this matches, string groupName ) : IEnumerable
matches this The sequence to enumerate.
groupName string A name of the group.
return IEnumerable

EnumerateValues() public static method

Returns enumerable collection of captures values.
is null.
public static EnumerateValues ( this captures ) : IEnumerable
captures this The sequence to enumerate.
return IEnumerable