示例#1
0
 public CherryPickCommand(IEventStream eventStream, ICommandService commandService, MainThread mainThread, CherryPickerView view)
 {
     this.eventStream    = eventStream;
     this.commandService = commandService;
     this.mainThread     = mainThread;
     this.view           = view;
 }
示例#2
0
        public SelectBaseBranchCommand(IEnumerable <CherryPickConfig> repositories, MainThread mainThread, CherryPickerView view)
        {
            this.mainThread = mainThread;
            this.view       = view;

            IsVisible = IsEnabled = view.IsRootMode;

            if (IsEnabled)
            {
                config = repositories.FirstOrDefault();
            }
        }
示例#3
0
文件: FetchCommand.cs 项目: kzu/guit
        public FetchCommand(
            IEnumerable <CherryPickConfig> repositories,
            IEventStream eventStream,
            CredentialsHandler credentials,
            CherryPickerView view,
            MainThread mainThread)
        {
            this.repositories = repositories;
            this.eventStream  = eventStream;
            this.credentials  = credentials;
            this.view         = view;
            this.mainThread   = mainThread;

            IsVisible = IsEnabled = !view.IsRootMode;
        }
示例#4
0
 public IgnoreCommand(MainThread mainThread, CherryPickerView view)
 {
     this.mainThread = mainThread;
     this.view       = view;
 }