Beispiel #1
0
 public Import2GoogleCommand(
     ClientSecretArgument clientSecretArgument,
     IcsPathArgument icsPathArgument,
     GoogleCalendarArgument googleCalendarArgument,
     ImportFromArgument importFromArgument,
     IUseCase <object> import2GoogleUseCase)
     : base("import", "Imports the ics calendar to the given google calendar.")
 {
     this.clientSecretArgument   = clientSecretArgument;
     this.icsPathArgument        = icsPathArgument;
     this.googleCalendarArgument = googleCalendarArgument;
     this.importFromArgument     = importFromArgument;
     this.import2GoogleUseCase   = import2GoogleUseCase;
 }
Beispiel #2
0
 public ListCommand(IUseCase <IList <string> > listEventUseCase, IcsPathArgument icsPathArgument) : base("list", "List the calendar events.")
 {
     this.listEventUseCase = listEventUseCase;
     this.icsPathArgument  = icsPathArgument;
 }