-
Notifications
You must be signed in to change notification settings - Fork 0
MethodExtraction TestMatches (Method)
Nicholas edited this page Nov 9, 2021
·
2 revisions
static void TestMatches(MatchCollection matches, List<MethodExtraction> listToAddTo, bool refreshIndentation, Func<Match, MethodExtraction> assembler)
Tests if the matches are valid, and adds them to the the listToAddTo parameter of they are valid
Part of class MethodExtraction
Parameters | Description |
---|---|
matches | The matches to check over |
listToAddTo | A list of all the extracted fields. This method will add it's own extractions to this list |
refreshIndentation | Should this function refresh the indentation of all the methods in the list |
assembler | The function used for taking the match info and converting it into a |