public RenameRefactoring(IRefactoringPresenterFactory<IRenamePresenter> factory, IActiveCodePaneEditor editor, IMessageBox messageBox, RubberduckParserState state) { _factory = factory; _editor = editor; _messageBox = messageBox; _state = state; }
public DownloadViewModel(IMessageBox messageBox, IMediator mediator, SettingsManager settingsManager) { _messageBox = messageBox; _mediator = mediator; _settingsManager = settingsManager; _mediator.Register(this); UIEnabled = true; SelectedQuality = QualityList.FirstOrDefault(q => q.Id == _settingsManager.Settings.MaxQuality) ?? QualityList[0]; TargetPath = _settingsManager.Settings.TargetPath; AddCommand = new DelegateCommand(ExecuteAddCommand); TargetCommand = new DelegateCommand(ExecuteTargetCommand); GoCommand = new DelegateCommand(ExecuteGoCommand); StopCommand = new DelegateCommand(ExecuteStopCommand); ImportCommand = new DelegateCommand(ExecuteImportCommand); Queue = new VideoQueue(); Queue.TotalProgressChanged += TotalProgressChanged; Queue.QueueStateChanged += QueueStateChanged; Queue.VideoFinished += VideoFinished; FinishedVideos = new ObservableCollection<Video>(); }
public PollResultsPageViewModel( INavigation navigation, IObjectFactory<IPollResults> objectFactory, IObjectFactory<IPoll> pollFactory, IObjectFactory<IPollComment> pollCommentFactory, IMessageBox messageBox #if NETFX_CORE , IShareManager shareManager, ISecondaryPinner secondaryPinner #endif // NETFX_CORE ) : base(navigation) { this.objectFactory = objectFactory; this.pollFactory = pollFactory; this.pollCommentFactory = pollCommentFactory; this.messageBox = messageBox; this.PollComments = new ObservableCollection<PollCommentViewModel>(); #if NETFX_CORE this.shareManager = shareManager; this.secondaryPinner = secondaryPinner; #endif // NETFX_CORE }
/// <summary> /// Set the message box adapter /// </summary> public override void BeforeTest(TestDetails testDetails) { base.BeforeTest(testDetails); m_PreviousAdapter = s_CurrentAdapter; s_CurrentAdapter = (IMessageBox)Activator.CreateInstance(m_AdapterType); MessageBoxUtils.Manager.SetMessageBoxAdapter(s_CurrentAdapter); }
public ParameterNotUsedInspection(VBE vbe, RubberduckParserState state, IMessageBox messageBox) : base(state) { _vbe = vbe; _messageBox = messageBox; _wrapperFactory = new CodePaneWrapperFactory(); }
public OpenIndexViewModel(ShellViewModel root, IFolderBrowser folderBrowser, IMessageBox messageBox) { _root = root; _browser = folderBrowser; _messageBox = messageBox; this.DisplayName = "Open Lucene Index"; }
public IntroduceFieldRefactoring(RubberduckParserState parserState, IActiveCodePaneEditor editor, IMessageBox messageBox) { _declarations = parserState.AllDeclarations.Where(i => !i.IsBuiltIn && i.DeclarationType == DeclarationType.Variable) .ToList(); _editor = editor; _messageBox = messageBox; }
public MoveFieldCloserToUsageQuickFix(ParserRuleContext context, QualifiedSelection selection, Declaration target, RubberduckParserState parseResult, ICodePaneWrapperFactory wrapperFactory, IMessageBox messageBox) : base(context, selection, string.Format(InspectionsUI.MoveFieldCloserToUsageInspectionResultFormat, target.IdentifierName)) { _target = target; _parseResult = parseResult; _wrapperFactory = wrapperFactory; _messageBox = messageBox; }
public MoveFieldCloserToUsageInspectionResult(IInspection inspection, Declaration target, RubberduckParserState parseResult, ICodePaneWrapperFactory wrapperFactory, IMessageBox messageBox) : base(inspection, target) { _quickFixes = new[] { new MoveFieldCloserToUsageQuickFix(target.Context, target.QualifiedSelection, target, parseResult, wrapperFactory, messageBox), }; }
public ExportGenerator(DTE dte, IFileSystem fileSystem, IFileTokenReplacer fileTokenReplacer, IMessageBox messageBox) { _dte = dte; _fileSystem = fileSystem; _fileTokenReplacer = fileTokenReplacer; _messageBox = messageBox; }
public RenameDeclarationQuickFix(ParserRuleContext context, QualifiedSelection selection, Declaration target, RubberduckParserState state, ICodePaneWrapperFactory wrapperFactory, IMessageBox messageBox) : base(context, selection, string.Format(RubberduckUI.Rename_DeclarationType, RubberduckUI.ResourceManager.GetString("DeclarationType_" + target.DeclarationType, RubberduckUI.Culture))) { _target = target; _state = state; _wrapperFactory = wrapperFactory; _messageBox = messageBox; }
public UseMeaningfulNameInspectionResult(IInspection inspection, Declaration target, RubberduckParserState parserState, ICodePaneWrapperFactory wrapperFactory, IMessageBox messageBox) : base(inspection, target) { _quickFixes = new CodeInspectionQuickFix[] { new RenameDeclarationQuickFix(target.Context, target.QualifiedSelection, target, parserState, wrapperFactory, messageBox), new IgnoreOnceQuickFix(Context, QualifiedSelection, Inspection.AnnotationName), }; }
public FindAllReferencesCommand(INavigateCommand navigateCommand, IMessageBox messageBox, RubberduckParserState state, VBE vbe, ISearchResultsWindowViewModel viewModel, SearchResultPresenterInstanceManager presenterService) { _navigateCommand = navigateCommand; _messageBox = messageBox; _state = state; _vbe = vbe; _viewModel = viewModel; _presenterService = presenterService; }
/// <summary> /// Restore previous message box adapter /// </summary> public override void AfterTest(TestDetails testDetails) { base.AfterTest(testDetails); s_CurrentAdapter = m_PreviousAdapter; if (s_CurrentAdapter != null) MessageBoxUtils.Manager.SetMessageBoxAdapter(s_CurrentAdapter); else MessageBoxUtils.Manager.Reset(); }
public RenameModel(VBE vbe, RubberduckParserState parseResult, QualifiedSelection selection, IMessageBox messageBox) { _vbe = vbe; _parseResult = parseResult; _declarations = parseResult.AllDeclarations.ToList(); _selection = selection; _messageBox = messageBox; AcquireTarget(out _target, Selection); }
public ReorderParametersModel(RubberduckParserState parseResult, QualifiedSelection selection, IMessageBox messageBox) { _parseResult = parseResult; _declarations = parseResult.AllUserDeclarations; _messageBox = messageBox; AcquireTarget(selection); Parameters = new List<Parameter>(); LoadParameters(); }
public LandingPageViewModel( INavigation navigation, IMessageBox messageBox, IMobileService mobileService, IObjectFactory<IUserIdentity> objectFactory, IAppSettings appSettings) : base(navigation) { this.messageBox = messageBox; this.mobileService = mobileService; this.objectFactory = objectFactory; this.appSettings = appSettings; }
public RegistrationPageViewModel( INavigation navigation, IObjectFactory<IUser> objectFactory, IObjectFactory<IUserIdentity> userIdentityObjectFactory, IMessageBox messageBox) : base(navigation) { this.objectFactory = objectFactory; this.userIdentityObjectFactory = userIdentityObjectFactory; this.messageBox = messageBox; GenderOptions = new ObservableCollection<SelectOptionViewModel<string>>(); }
public Workflow(string solutionPath, IData data, IFileSystem fileSystem, IMessageBox messageBox, ITableDefinitionDialog tableDefinitionDialog, ITemplateService templateService) { _solutionPath = solutionPath; _data = data; _fileSystem = fileSystem; _messageBox = messageBox; _tableDefinitionDialog = tableDefinitionDialog; _templateService = templateService; }
public AddPollPageViewModel( IObjectFactory<IPoll> pollObjectFactory, IObjectFactory<IPollOption> pollOptionObjectFactory, IObjectFactory<ICategoryCollection> categoryObjectFactory, IMessageBox messageBox, ILogger logger, PollImageViewModel pollImageViewModel) { this.pollObjectFactory = pollObjectFactory; this.pollOptionObjectFactory = pollOptionObjectFactory; this.categoryObjectFactory = categoryObjectFactory; this.messageBox = messageBox; this.logger = logger; this.PollImageViewModel = pollImageViewModel; }
public AddPollPageViewModel( INavigation navigation, IObjectFactory<IPoll> pollObjectFactory, IObjectFactory<IPollOption> pollOptionObjectFactory, IObjectFactory<ICategoryCollection> categoryObjectFactory, IMessageBox messageBox, PollImageViewModel pollImageViewModel) : base(navigation) { this.pollObjectFactory = pollObjectFactory; this.pollOptionObjectFactory = pollOptionObjectFactory; this.categoryObjectFactory = categoryObjectFactory; this.messageBox = messageBox; this.PollImageViewModel = pollImageViewModel; this.PollAnswers = new ObservableCollection<PollAnswerViewModel>(); }
public Workflow(string solutionPath, string projectPath, string defaultNamespace, IData data, IFileSystem fileSystem, IMessageBox messageBox, IEntityAndMappingDialog entityAndMappingDialog, ITemplateService templateService) { _solutionPath = solutionPath; _projectPath = projectPath; _defaultNamespace = defaultNamespace; _data = data; _fileSystem = fileSystem; _messageBox = messageBox; _entityAndMappingDialog = entityAndMappingDialog; _templateService = templateService; }
public ViewPollPageViewModel( INavigation navigation, IObjectFactory<IPollSubmissionCommand> objectFactory, IObjectFactory<IPoll> pollFactory, IMessageBox messageBox #if NETFX_CORE , IShareManager shareManager, ISecondaryPinner secondaryPinner #endif // NETFX_CORE ) : base(navigation) { this.objectFactory = objectFactory; this.pollFactory = pollFactory; this.messageBox = messageBox; #if NETFX_CORE this.shareManager = shareManager; this.secondaryPinner = secondaryPinner; #endif // NETFX_CORE }
public RenameRefactoring(IVBE vbe, IRefactoringPresenterFactory <IRenamePresenter> factory, IMessageBox messageBox, RubberduckParserState state) { _vbe = vbe; _factory = factory; _messageBox = messageBox; _state = state; _model = null; var activeCodePane = _vbe.ActiveCodePane; _initialSelection = new Tuple <ICodePane, Selection>(activeCodePane, activeCodePane.IsWrappingNullReference ? Selection.Empty : activeCodePane.Selection); _modulesToRewrite = new List <QualifiedModuleName>(); _renameActions = new Dictionary <DeclarationType, Action> { { DeclarationType.Member, RenameMember }, { DeclarationType.Parameter, RenameParameter }, { DeclarationType.Event, RenameEvent }, { DeclarationType.Variable, RenameVariable }, { DeclarationType.Module, RenameModule }, { DeclarationType.Project, RenameProject } }; IsInterfaceMemberRename = false; RequestParseAfterRename = true; _neverRenameIdentifiers = NeverRenameList(); }
private void FillControls() { try { base.FillControlsBase("DebtSetting.xml", debt); if (xmlTools.XmlAttributeDict["DebtType"].ToString() == "MEqualCaptial") { comboBox1.SelectedText = "等额本金"; } else if (xmlTools.XmlAttributeDict["DebtType"].ToString() == "MEqualInterest") { comboBox1.SelectedText = "等额本息"; } sumDebtTxt.Text = xmlTools.XmlAttributeDict["SumDebt"].ToString(); TimeLengthTxt.Text = xmlTools.XmlAttributeDict["TimeLength"].ToString(); yearRateTxt.Text = xmlTools.XmlAttributeDict["XMLYearRate"].ToString(); dateTimePicker1.Text = xmlTools.XmlAttributeDict["OnDebtTime"].ToString(); bigTimesTxt.Text = xmlTools.XmlAttributeDict["BigTimes"].ToString(); } catch (Exception ex) { IMessageBox.ShowError(ex.Message); } }
public BrowserApplicationInstance( AppConfig appConfig, BrowserSettings settings, int id, bool isMainInstance, IFileSystemDialog fileSystemDialog, IMessageBox messageBox, IModuleLogger logger, IText text, IUserInterfaceFactory uiFactory, string startUrl) { this.appConfig = appConfig; this.Id = id; this.httpClient = new HttpClient(); this.isMainInstance = isMainInstance; this.fileSystemDialog = fileSystemDialog; this.messageBox = messageBox; this.logger = logger; this.settings = settings; this.text = text; this.uiFactory = uiFactory; this.startUrl = startUrl; }
public MoveFieldCloserToUsageQuickFix(RubberduckParserState state, IMessageBox messageBox) : base(typeof(MoveFieldCloserToUsageInspection)) { _state = state; _messageBox = messageBox; }
/// <summary> /// 메시지 상자 표시 /// </summary> /// <param name="messageBox">메시지 상자 서비스</param> /// <param name="messageBoxText">메시지</param> /// <param name="caption">제목</param> /// <returns>메시지 상자 결과 반환 태스크</returns> public static Task <MessageBoxResult> Show(this IMessageBox messageBox, string messageBoxText, string caption) => messageBox.Show(messageBoxText, caption, MessageBoxButton.OK);
/// <summary> /// 메시지 상자 표시 /// </summary> /// <param name="messageBox">메시지 상자 서비스</param> /// <param name="messageBoxText">메시지</param> /// <param name="caption">제목</param> /// <param name="button">메시지 상자에 표시되는 단추</param> /// <param name="icon">아이콘</param> /// <returns>메시지 상자 결과 반환 태스크</returns> public static Task <MessageBoxResult> Show(this IMessageBox messageBox, string messageBoxText, string caption, MessageBoxButton button, MessageImage icon) => messageBox.Show(messageBoxText, caption, button, icon, MessageBoxResult.None);
public RenameCommand(IVBE vbe, IRefactoringDialog <RenameViewModel> view, RubberduckParserState state, IMessageBox msgBox) : base(LogManager.GetCurrentClassLogger()) { _vbe = vbe; _state = state; _view = view; _msgBox = msgBox; }
public ApplicationLifeCycle(IMessageBox messageBox, IApplicationConfiguration applicationConfiguration) { _MessageBox = messageBox; _ApplicationConfiguration = applicationConfiguration; }
public void DownloadOrLinkFile(ProductFile file, IMessageBox MessageBox1) { //if they browsed a file then this overrides all other behavior if (_currentMode == Mode.NewUpload) { if (file == null) { file = new ProductFile(); } InitializeProductFile(file, true); if (Save(file)) { if (ProductFile.SaveFile(MyPage.MTApp.CurrentStore.Id, file.Bvin, file.FileName, NewFileUpload.PostedFile)) { MessageBox1.ShowOk("File saved to server successfully"); } else { MessageBox1.ShowError("There was an error while trying to save your file to the file system. Please check your asp.net permissions."); } } else { MessageBox1.ShowError("There was an error while trying to save your file to the database."); } } else if (_currentMode == Mode.DropDownList) { if (FilesDropDownList.SelectedValue.Trim() != "") { if (file == null) { file = new ProductFile(); } InitializeProductFile(file, true); if (Save(file)) { MessageBox1.ShowOk("File saved to server successfully"); } else { MessageBox1.ShowError("There was an error while trying to save your file to the database."); } } } else if (_currentMode == Mode.FileBrowsed) { if (file == null) { file = new ProductFile(); } InitializeProductFile(file, true); if (Save(file)) { MessageBox1.ShowOk("File saved to server successfully"); } else { MessageBox1.ShowError("There was an error while trying to save your file to the database."); } } InitializeFileLists(); }
public RefactorExtractInterfaceCommand(IVBE vbe, RubberduckParserState state, IMessageBox messageBox, IRewritingManager rewritingManager) : base(vbe) { _state = state; _rewritingManager = rewritingManager; _messageBox = messageBox; }
public TestExplorerViewModel(IVBE vbe, RubberduckParserState state, ITestEngine testEngine, TestExplorerModel model, IClipboardWriter clipboard, IGeneralConfigService configService, ISettingsFormFactory settingsFormFactory, IMessageBox messageBox, ReparseCommand reparseCommand) { _vbe = vbe; _state = state; _testEngine = testEngine; _testEngine.TestCompleted += TestEngineTestCompleted; Model = model; _clipboard = clipboard; _settingsFormFactory = settingsFormFactory; _messageBox = messageBox; _navigateCommand = new NavigateCommand(_state.ProjectsProvider); RunSelectedTestCommand = new DelegateCommand(LogManager.GetCurrentClassLogger(), ExecuteSelectedTestCommand, CanExecuteSelectedTestCommand); RunSelectedCategoryTestsCommand = new DelegateCommand(LogManager.GetCurrentClassLogger(), ExecuteRunSelectedCategoryTestsCommand, CanExecuteRunSelectedCategoryTestsCommand); CopyResultsCommand = new DelegateCommand(LogManager.GetCurrentClassLogger(), ExecuteCopyResultsCommand); OpenTestSettingsCommand = new DelegateCommand(LogManager.GetCurrentClassLogger(), OpenSettings); SetOutcomeGroupingCommand = new DelegateCommand(LogManager.GetCurrentClassLogger(), param => { GroupByOutcome = true; if ((bool)param) { GroupByLocation = false; GroupByCategory = false; } }); SetLocationGroupingCommand = new DelegateCommand(LogManager.GetCurrentClassLogger(), param => { GroupByLocation = true; if ((bool)param) { GroupByOutcome = false; GroupByCategory = false; } }); SetCategoryGroupingCommand = new DelegateCommand(LogManager.GetCurrentClassLogger(), param => { GroupByCategory = true; if ((bool)param) { GroupByOutcome = false; GroupByLocation = false; } }); }
private static FindAllImplementationsService ArrangeFindAllImplementationsService(RubberduckParserState state, ISearchResultsWindowViewModel viewModel, INavigateCommand navigateCommand = null, IMessageBox messageBox = null, SearchResultPresenterInstanceManager presenterService = null, IUiDispatcher uiDispatcher = null) { return(new FindAllImplementationsService( navigateCommand ?? new Mock <INavigateCommand>().Object, messageBox ?? new Mock <IMessageBox>().Object, state, viewModel, presenterService, uiDispatcher ?? new Mock <IUiDispatcher>().Object)); }
public ImplementInterfaceRefactoring(RubberduckParserState state, IActiveCodePaneEditor editor, IMessageBox messageBox) { _declarations = state.AllDeclarations.ToList(); _editor = editor; _messageBox = messageBox; }
public MoveCloserToUsageRefactoring(RubberduckParserState parseResult, IActiveCodePaneEditor editor, IMessageBox messageBox) { _declarations = parseResult.AllDeclarations.ToList(); _editor = editor; _messageBox = messageBox; }
public ReorderParametersRefactoring(IRefactoringPresenterFactory<IReorderParametersPresenter> factory, IActiveCodePaneEditor editor, IMessageBox messageBox) { _factory = factory; _editor = editor; _messageBox = messageBox; }
public void TestInit() { _messageBox = new MessageBox(); }
/// <summary> /// Initializes the <see cref="NyaWatch.Core.UI.Dialogs"/> class. /// </summary> static Dialogs() { Message = ObjectFactory.GetInstance<IMessageBox> (); }
public ProjectExplorerRefactorRenameCommand(IVBE vbe, RubberduckParserState state, IMessageBox msgBox, IRewritingManager rewritingManager) : base(vbe) { _state = state; _rewritingManager = rewritingManager; _msgBox = msgBox; }
public FormDesignerRefactorRenameCommand(IVBE vbe, RubberduckParserState state, IMessageBox messageBox) : base(vbe) { _vbe = vbe; _state = state; _messageBox = messageBox; }
public UseMeaningfulNameInspection(IMessageBox messageBox, RubberduckParserState state) : base(state, CodeInspectionSeverity.Suggestion) { _messageBox = messageBox; _wrapperFactory = new CodePaneWrapperFactory(); }
public ExtractInterfaceRefactoring(IVBE vbe, IMessageBox messageBox, IRefactoringPresenterFactory <IExtractInterfacePresenter> factory) { _vbe = vbe; _messageBox = messageBox; _factory = factory; }
public RemoveParametersModel(RubberduckParserState state, QualifiedSelection selection, IMessageBox messageBox) { State = state; Declarations = state.AllDeclarations.ToList(); _messageBox = messageBox; AcquireTarget(selection); LoadParameters(); }
// Use this method to override the internal IMessageBox interface with a mocked implementation. internal static void OverrideMessageBoxDuringTests(IMessageBox msgBox) { msg_box = msgBox; }
public Task <T?> ShowDialog <T>(IMessageBox <T> messageBox) => default;
internal static MessageBoxResult Show(string msg, string title, MessageBoxButton button, MessageBoxImage img) { return((msg_box ?? (msg_box = new DefaultMessageBox())).Show(msg, title, button, img)); }
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; }
public RefactorImplementInterfaceCommand(IVBE vbe, RubberduckParserState state, IMessageBox msgBox) : base(vbe) { _state = state; _msgBox = msgBox; }
/// <summary> /// 메시지 상자 표시 /// </summary> /// <param name="messageBox">메시지 상자 서비스</param> /// <param name="messageBoxText">메시지</param> /// <returns>메시지 상자 결과 반환 태스크</returns> public static Task <MessageBoxResult> Show(this IMessageBox messageBox, string messageBoxText) => messageBox.Show(messageBoxText, string.Empty);
public RefactorMoveCloserToUsageCommand(RubberduckParserState state, IMessageBox msgbox, IRewritingManager rewritingManager, ISelectionService selectionService) : base(rewritingManager, selectionService) { _state = state; _msgbox = msgbox; }
/// <summary> /// 메시지 상자 표시 /// </summary> /// <param name="messageBox">메시지 상자 서비스</param> /// <param name="messageBoxText">메시지</param> /// <param name="icon">아이콘</param> /// <returns>메시지 상자 결과 반환 태스크</returns> public static Task <MessageBoxResult> Show(this IMessageBox messageBox, string messageBoxText, MessageImage icon) => messageBox.Show(messageBoxText, string.Empty, MessageBoxButton.OK, icon);
public IntroduceParameterRefactoring(RubberduckParserState parseResult, IActiveCodePaneEditor editor, IMessageBox messageBox) { _parseResult = parseResult; _declarations = parseResult.AllDeclarations.ToList(); _editor = editor; _messageBox = messageBox; }
internal void BuildObjectGraph(Action shutdown) { ValidateCommandLineArguments(); InitializeLogging(); InitializeText(); context = new ClientContext(); uiFactory = BuildUserInterfaceFactory(); actionCenter = uiFactory.CreateActionCenter(); messageBox = BuildMessageBox(); nativeMethods = new NativeMethods(); runtimeProxy = new RuntimeProxy(runtimeHostUri, new ProxyObjectFactory(), ModuleLogger(nameof(RuntimeProxy)), Interlocutor.Client); systemInfo = new SystemInfo(); taskbar = uiFactory.CreateTaskbar(ModuleLogger("Taskbar")); taskview = uiFactory.CreateTaskview(); var processFactory = new ProcessFactory(ModuleLogger(nameof(ProcessFactory))); var applicationMonitor = new ApplicationMonitor(TWO_SECONDS, ModuleLogger(nameof(ApplicationMonitor)), nativeMethods, processFactory); var applicationFactory = new ApplicationFactory(applicationMonitor, ModuleLogger(nameof(ApplicationFactory)), nativeMethods, processFactory); var displayMonitor = new DisplayMonitor(ModuleLogger(nameof(DisplayMonitor)), nativeMethods, systemInfo); var explorerShell = new ExplorerShell(ModuleLogger(nameof(ExplorerShell)), nativeMethods); var fileSystemDialog = BuildFileSystemDialog(); var hashAlgorithm = new HashAlgorithm(); var splashScreen = uiFactory.CreateSplashScreen(); var operations = new Queue <IOperation>(); operations.Enqueue(new I18nOperation(logger, text)); operations.Enqueue(new RuntimeConnectionOperation(context, logger, runtimeProxy, authenticationToken)); operations.Enqueue(new ConfigurationOperation(context, logger, runtimeProxy)); operations.Enqueue(new DelegateOperation(UpdateAppConfig)); operations.Enqueue(new LazyInitializationOperation(BuildClientHostOperation)); operations.Enqueue(new ClientHostDisconnectionOperation(context, logger, FIVE_SECONDS)); operations.Enqueue(new LazyInitializationOperation(BuildKeyboardInterceptorOperation)); operations.Enqueue(new LazyInitializationOperation(BuildMouseInterceptorOperation)); operations.Enqueue(new ApplicationOperation(context, applicationFactory, applicationMonitor, logger, text)); operations.Enqueue(new DisplayMonitorOperation(context, displayMonitor, logger, taskbar)); operations.Enqueue(new LazyInitializationOperation(BuildShellOperation)); operations.Enqueue(new LazyInitializationOperation(BuildBrowserOperation)); operations.Enqueue(new ClipboardOperation(context, logger, nativeMethods)); var sequence = new OperationSequence(logger, operations); ClientController = new ClientController( actionCenter, applicationMonitor, context, displayMonitor, explorerShell, fileSystemDialog, hashAlgorithm, logger, messageBox, sequence, runtimeProxy, shutdown, splashScreen, taskbar, text, uiFactory); }
public AddTestComponentCommand(IVBE vbe, RubberduckParserState state, IGeneralConfigService configLoader, IMessageBox messageBox, IVBEInteraction interaction) : base(vbe, state, configLoader, messageBox, interaction) { }
public MoveToFolderRefactoringFailedNotifier(IMessageBox messageBox) : base(messageBox) { }
public MoveMultipleFoldersViewModel(MoveMultipleFoldersModel model, IMessageBox messageBox, IDeclarationFinderProvider declarationFinderProvider) : base(model) { _declarationFinderProvider = declarationFinderProvider; _messageBox = messageBox; }
public RefactorIntroduceParameterCommand(IVBE vbe, RubberduckParserState state, IMessageBox messageBox) : base(vbe) { _state = state; _messageBox = messageBox; }
//todo really big and bad crutch, NEED TO FIX IT!!!! private static Result MessageBox_Show(string text, string title = null, Mode mode = Mode.Ok) { //not initialize by some DI and should be initialize here messageBox = new CustomMessageBox(); return messageBox.Show(text, title, mode); }