public CherryPickCommand(IEventStream eventStream, ICommandService commandService, MainThread mainThread, CherryPickerView view) { this.eventStream = eventStream; this.commandService = commandService; this.mainThread = mainThread; this.view = view; }
public SelectBaseBranchCommand(IEnumerable <CherryPickConfig> repositories, MainThread mainThread, CherryPickerView view) { this.mainThread = mainThread; this.view = view; IsVisible = IsEnabled = view.IsRootMode; if (IsEnabled) { config = repositories.FirstOrDefault(); } }
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; }
public IgnoreCommand(MainThread mainThread, CherryPickerView view) { this.mainThread = mainThread; this.view = view; }