We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a423f0 commit ff110b3Copy full SHA for ff110b3
Flow.Launcher.Infrastructure/StringMatcher.cs
@@ -14,9 +14,9 @@ public class StringMatcher
14
15
private readonly IAlphabet _alphabet;
16
17
- public StringMatcher()
+ public StringMatcher(IAlphabet alphabet = null)
18
{
19
- _alphabet = Ioc.Default.GetRequiredService<IAlphabet>();
+ _alphabet = alphabet ?? Ioc.Default.GetRequiredService<IAlphabet>();
20
}
21
22
public static StringMatcher Instance { get; internal set; }
0 commit comments