public SearchContext(string searchString, IPatternMatcherFactory patternMatcherFactory) { SearchString = searchString ?? String.Empty; if (SearchString.Length > 0) { _patternMatcher = patternMatcherFactory.CreatePatternMatcher( searchString, new PatternMatcherCreationOptions( cultureInfo: CultureInfo.CurrentCulture, flags: PatternMatcherCreationFlags.IncludeMatchedSpans)); } }
public PatternTextFilter(string pattern, IPatternMatcherFactory factory) { if (factory is null) { throw new ArgumentNullException(nameof(factory)); } _matcher = factory.CreatePatternMatcher( pattern, new PatternMatcherCreationOptions( CultureInfo.CurrentCulture, PatternMatcherCreationFlags.AllowSimpleSubstringMatching | PatternMatcherCreationFlags.IncludeMatchedSpans ) ); }
public WorkflowCommands( IJsonHttpClientFactory clientFactory, ITemplateEngineFactory templateEngineFactory, IYamlSerializers serializers, IJmesPathQuery jmesPathQuery, IPatternMatcherFactory patternMatcherFactory, ISecretTracker secretTracker, IBlueprintManager blueprintManager, IConsole console) { _clientFactory = clientFactory; _templateEngineFactory = templateEngineFactory; _serializers = serializers; _jmesPathQuery = jmesPathQuery; _patternMatcherFactory = patternMatcherFactory; _secretTracker = secretTracker; _blueprintManager = blueprintManager; _console = console; }
public WorkflowCommands( IWorkflowLoader workflowLoader, IWorkflowEngine workflowEngine, IValuesEngine valuesEngine, ITemplateEngineFactory templateEngineFactory, IYamlSerializers serializers, IPatternMatcherFactory patternMatcherFactory, ISecretTracker secretTracker, IBlueprintManager blueprintManager, IConsole console) { _workflowLoader = workflowLoader; _workflowEngine = workflowEngine; _valuesEngine = valuesEngine; _templateEngineFactory = templateEngineFactory; _serializers = serializers; _patternMatcherFactory = patternMatcherFactory; _secretTracker = secretTracker; _blueprintManager = blueprintManager; _console = console; }
internal DefaultCompletionItemManager(IPatternMatcherFactory patternMatcherFactory) { _patternMatcherFactory = patternMatcherFactory; }
public SearchContextFactory(IPatternMatcherFactory patternMatcherFactory) { _patternMatcherFactory = patternMatcherFactory; }
public ItemManagerProvider(IPatternMatcherFactory patternMatcherFactory, IDocumentFactory documentFactory) { _instance = new ItemManager(patternMatcherFactory, documentFactory); }
public ItemManager(IPatternMatcherFactory patternMatcherFactory, IDocumentFactory documentFactory) { _patternMatcherFactory = patternMatcherFactory; _documentFactory = documentFactory; }