示例#1
0
 public CalendarController(ICalendarService calendarService, IAuthenticationService authenticationService, ExternalCalendarHelperService exCalHelperService, OAuthService oAuthService, GoogleCalendarService googleCalendarService, MicrosoftOAuthService msOAuthService, MicrosoftCalendarService msCalService)
 {
     this.calendarService       = calendarService;
     this.authenticationService = authenticationService;
     this.exCalHelperService    = exCalHelperService;
     this.oAuthService          = oAuthService;
     this.googleCalendarService = googleCalendarService;
     this.msOAuthService        = msOAuthService;
     this.msCalService          = msCalService;
 }
 public OAuthController(GoogleOAuthService gOAuthService, IAuthenticationService authenticationService, MicrosoftOAuthService msOAuthService)
 {
     this.gOAuthService         = gOAuthService;
     this.authenticationService = authenticationService;
     this.msOAuthService        = msOAuthService;
 }
 public MicrosoftCalendarService(IDataProvider dataProvider, MicrosoftOAuthService oAuthService, ExternalCalendarHelperService exCalHelperService)
 {
     this.dataProvider       = dataProvider;
     this.oAuthService       = oAuthService;
     this.exCalHelperService = exCalHelperService;
 }