Beispiel #1
0
        private bool Run(SelfClosingPair pair, CodeString original, Keys input, out TestCodeString testResult)
        {
            var sut = new SelfClosingPairCompletionService();

            if (sut.Execute(pair, original, input, out var result))
            {
                testResult = new TestCodeString(result);
                return(true);
            }

            testResult = null;
            return(false);
        }
 public AutoCompleteService(IGeneralConfigService configService, SelfClosingPairCompletionService selfClosingPairCompletion)
 {
     _selfClosingPairCompletion      = selfClosingPairCompletion;
     _configService                  = configService;
     _configService.SettingsChanged += ConfigServiceSettingsChanged;
 }
Beispiel #3
0
        private CodeString Run(SelfClosingPair pair, CodeString original, Keys input)
        {
            var sut = new SelfClosingPairCompletionService(null);

            return(sut.Execute(pair, original, input));
        }