예제 #1
0
 public ExternalApiGateway(
     IITunesApi iTunesApi,
     ISoundCloudApi soundCloudApi,
     ISpotifyApi spotifyApi,
     IYoutubeApi youtubeApi)
 {
     _iTunesApi = iTunesApi;
     _soundCloudApi = soundCloudApi;
     _spotifyApi = spotifyApi;
     _youtubeApi = youtubeApi;
 }
예제 #2
0
 public AutenticationApi(IYoutubeApi api)
     : base(api)
 {
 }
예제 #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)
 {
 }
예제 #4
0
 /// <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);
 }