示例#1
0
 public PushCommand(IEventStream eventStream, MainThread mainThread, IGitRepository repository, CredentialsHandler credentialsProvider, SyncView view)
 {
     this.eventStream         = eventStream;
     this.mainThread          = mainThread;
     this.repository          = repository;
     this.credentialsProvider = credentialsProvider;
     this.view = view;
 }
示例#2
0
 public PullCommand(
     MainThread mainThread,
     IRepository repository,
     IEventStream eventStream,
     CredentialsHandler credentials,
     ICommandService commandService,
     IShell shell,
     SyncView view)
 {
     this.mainThread     = mainThread;
     this.repository     = repository;
     this.eventStream    = eventStream;
     this.credentials    = credentials;
     this.commandService = commandService;
     this.shell          = shell;
     this.view           = view;
 }