Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: Generex<T> New<T>(IEqualityComparer<T>, params T[])

Declaration

public static Generex<T> New<T>(
    IEqualityComparer<T> comparer,
    params T[] elements
)

Summary

Instantiates a regular expression that matches a sequence of consecutive elements using the specified equality comparer.

Generic type parameters

T Type of the objects in the collection against which the regular expression will be matched.

Parameters

IEqualityComparer<T>comparer Equality comparer to determine matching elements.
T[]elements The sequence of elements to match.