コード例 #1
0
ファイル: GuiProvider.cs プロジェクト: Kuzq/gitter
        /// <summary>Create <see cref="GuiProvider"/>.</summary>
        /// <param name="repositoryProvider">Git repository provider.</param>
        public GuiProvider(RepositoryProvider repositoryProvider)
        {
            Verify.Argument.IsNotNull(repositoryProvider, "repositoryProvider");

            _repositoryProvider = repositoryProvider;

            _mainToolbar	= new GitToolbar(this);
            _viewFactories	= new ViewFactoriesCollection(this);
            _statusbar		= new Statusbar(this);
            _menus			= new MainGitMenus(this);
            _notifications	= new Notifications(this);
        }
コード例 #2
0
ファイル: GuiProvider.cs プロジェクト: oqewok/gitter
        /// <summary>Create <see cref="GuiProvider"/>.</summary>
        /// <param name="repositoryProvider">Git repository provider.</param>
        public GuiProvider(RepositoryProvider repositoryProvider)
        {
            Verify.Argument.IsNotNull(repositoryProvider, "repositoryProvider");

            _repositoryProvider = repositoryProvider;

            _mainToolbar   = new GitToolbar(this);
            _viewFactories = new ViewFactoriesCollection(this);
            _statusbar     = new Statusbar(this);
            _menus         = new MainGitMenus(this);
            _notifications = new Notifications(this);
        }
コード例 #3
0
ファイル: GuiProvider.cs プロジェクト: kiple/gitter
        /// <summary>Create <see cref="GuiProvider"/>.</summary>
        /// <param name="repositoryProvider">Git repository provider.</param>
        public GuiProvider(RepositoryProvider repositoryProvider)
        {
            Verify.Argument.IsNotNull(repositoryProvider, nameof(repositoryProvider));

            RepositoryProvider = repositoryProvider;

            MainToolBar    = new GitToolbar(this);
            ViewFactories  = new ViewFactoriesCollection(this);
            Statusbar      = new Statusbar(this);
            Menus          = new MainGitMenus(this);
            _notifications = new Notifications(this);
        }