Exemple #1
0
 public ReparseCommand(IVBE vbe, IConfigProvider <GeneralSettings> settingsProvider, RubberduckParserState state, IVBETypeLibsAPI typeLibApi, IVBESettings vbeSettings, IMessageBox messageBox) : base(LogManager.GetCurrentClassLogger())
 {
     _vbe         = vbe;
     _vbeSettings = vbeSettings;
     _typeLibApi  = typeLibApi;
     _state       = state;
     _settings    = settingsProvider.Create();
     _messageBox  = messageBox;
 }
Exemple #2
0
        public TestEngine(TestExplorerModel model, IVBE vbe, RubberduckParserState state, IFakesFactory fakesFactory, IVBETypeLibsAPI typeLibApi, IUiDispatcher uiDispatcher)
        {
            Debug.WriteLine("TestEngine created.");
            Model         = model;
            _vbe          = vbe;
            _state        = state;
            _fakesFactory = fakesFactory;
            _typeLibApi   = typeLibApi;
            _uiDispatcher = uiDispatcher;

            _state.StateChanged += StateChangedHandler;
        }
Exemple #3
0
        public ReparseCommand(
            IVBE vbe,
            IConfigurationService <GeneralSettings> settingsProvider,
            RubberduckParserState state,
            IVBETypeLibsAPI typeLibApi,
            IVbeSettings vbeSettings,
            IMessageBox messageBox,
            IVbeEvents vbeEvents)
            : base(vbeEvents)
        {
            _vbe         = vbe;
            _vbeSettings = vbeSettings;
            _typeLibApi  = typeLibApi;
            _state       = state;
            _settings    = settingsProvider.Read();
            _messageBox  = messageBox;

            AddToCanExecuteEvaluation(SpecialEvaluateCanExecute);
        }
 public VBEInteraction(IVBETypeLibsAPI typeLibsApi, Version rubberduckVersion)
 {
     _typeLibsApi       = typeLibsApi;
     _rubberduckVersion = rubberduckVersion;
 }
Exemple #5
0
 public TestMethod(Declaration declaration, IVBE vbe, IVBETypeLibsAPI typeLibApi)
 {
     _declaration = declaration;
     _vbe         = vbe;
     _typeLibApi  = typeLibApi;
 }