Esempio n. 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;
 }
Esempio n. 2
0
 public LoadGoogleCalendarCommand(IUseCase <string> loadGoogleCalendarUseCase, ClientSecretArgument clientSecretArgument)
     : base("loadgoogle", "Load a google calendar.")
 {
     this.loadGoogleCalendarUseCase = loadGoogleCalendarUseCase;
     this.clientSecretArgument      = clientSecretArgument;
 }