public ExternalApiGateway(
     IITunesApi iTunesApi,
     ISoundCloudApi soundCloudApi,
     ISpotifyApi spotifyApi,
     IYoutubeApi youtubeApi)
 {
     _iTunesApi = iTunesApi;
     _soundCloudApi = soundCloudApi;
     _spotifyApi = spotifyApi;
     _youtubeApi = youtubeApi;
 }
 public AutenticationApi(IYoutubeApi api)
     : base(api)
 {
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserApi"/> class.
 /// </summary>
 /// <param name="api">The API wrapper.</param>
 public UserApi(IYoutubeApi api)
     : base(api)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="YoutubeApiBase"/> class.
 /// </summary>
 /// <param name="api">The session.</param>
 protected YoutubeApiBase(IYoutubeApi api)
 {
     Api = api;
     Rest = new RestWrapper(Api.Config);
 }