mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-05-01 02:02:22 +00:00
Rename transformFallback parameter to fallbackTransform for clarity
This commit is contained in:
@@ -14,7 +14,7 @@ internal static class MatcherExtensions
|
|||||||
this IMatcher<TContext, TValue> matcher,
|
this IMatcher<TContext, TValue> matcher,
|
||||||
TContext context,
|
TContext context,
|
||||||
StringSegment segment,
|
StringSegment segment,
|
||||||
Func<TContext, StringSegment, TValue> transformFallback
|
Func<TContext, StringSegment, TValue> fallbackTransform
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
// Loop through segments divided by individual matches
|
// Loop through segments divided by individual matches
|
||||||
@@ -40,7 +40,7 @@ internal static class MatcherExtensions
|
|||||||
|
|
||||||
yield return new ParsedMatch<TValue>(
|
yield return new ParsedMatch<TValue>(
|
||||||
fallbackSegment,
|
fallbackSegment,
|
||||||
transformFallback(context, fallbackSegment)
|
fallbackTransform(context, fallbackSegment)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -57,7 +57,7 @@ internal static class MatcherExtensions
|
|||||||
|
|
||||||
yield return new ParsedMatch<TValue>(
|
yield return new ParsedMatch<TValue>(
|
||||||
fallbackSegment,
|
fallbackSegment,
|
||||||
transformFallback(context, fallbackSegment)
|
fallbackTransform(context, fallbackSegment)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user