Expect(stringerex, exceptionGenerator) Expect(stringerexes, exceptionGenerator) Expect(predicate, exceptionGenerator) Expect(element, exceptionGenerator) Expect(elements, exceptionGenerator) Expect(elements, exceptionGenerator) Expect(element, comparer, exceptionGenerator) Expect(elements, comparer, exceptionGenerator) Expect(elements, comparer, exceptionGenerator) Expect<>(stringerex, exceptionGenerator) Throw<>(exceptionGenerator)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Static method: Stringerex Expect(IEnumerable<char>, Func<StringerexMatch, Exception>)Declarationpublic static Stringerex Expect(
IEnumerable<char> elements,
Func<StringerexMatch, Exception> exceptionGenerator
)Summary
Attempts to match the specified sequence of characters and throws an exception generated by the specified code
if the regular expression does not match. |