public SubresourceFactory( ISoundCloudRawClient soundCloudRawClient, IPaginationValidator paginationValidator, ITrackConverter trackConverter, IUserConverter userConverter, IPlaylistConverter playlistConverter, ICommentConverter commentConverter, IGroupConverter groupConverter, IWebProfileConverter webProfileConverter, IConnectionConverter connectionConverter, IActivityResultConverter activityResultConverter, IApplicationConverter applicationConverter, IExploreCategoryConverter exploreCategoryConverter) { this.soundCloudRawClient = soundCloudRawClient; this.paginationValidator = paginationValidator; this.trackConverter = trackConverter; this.userConverter = userConverter; this.playlistConverter = playlistConverter; this.commentConverter = commentConverter; this.groupConverter = groupConverter; this.webProfileConverter = webProfileConverter; this.connectionConverter = connectionConverter; this.activityResultConverter = activityResultConverter; this.applicationConverter = applicationConverter; this.exploreCategoryConverter = exploreCategoryConverter; }
internal MeApi( ISoundCloudRawClient soundCloudRawClient, IPaginationValidator paginationValidator, IUserConverter userConverter, ITrackConverter trackConverter, IPlaylistConverter playlistConverter, ICommentConverter commentConverter, IGroupConverter groupConverter, IWebProfileConverter webProfileConverter, IConnectionConverter connectionConverter, IActivityResultConverter activityResultConverter) : base( null, soundCloudRawClient, paginationValidator, userConverter, trackConverter, playlistConverter, commentConverter, groupConverter, webProfileConverter, prefix) { this.connectionConverter = connectionConverter; this.activityResultConverter = activityResultConverter; }
internal PlaylistApi(string playlistId, ISoundCloudRawClient soundCloudRawClient, IPlaylistConverter playlistConverter) { this.playlistId = playlistId; this.soundCloudRawClient = soundCloudRawClient; this.playlistConverter = playlistConverter; prefix = string.Format("playlists/{0}", playlistId); }
internal ActivityResultConverter( ITrackConverter trackConverter, ICommentConverter commentConverter, IUserConverter userConverter, IPlaylistConverter playlistConverter, IDateTimeConverter dateTimeConverter) { this.trackConverter = trackConverter; this.commentConverter = commentConverter; this.userConverter = userConverter; this.playlistConverter = playlistConverter; this.dateTimeConverter = dateTimeConverter; }
internal ResolveApi( ISoundCloudRawClient soundCloudRawClient, IGroupConverter groupConverter, IUserConverter userConverter, ITrackConverter trackConverter, IPlaylistConverter playlistConverter) { this.soundCloudRawClient = soundCloudRawClient; this.groupConverter = groupConverter; this.userConverter = userConverter; this.trackConverter = trackConverter; this.playlistConverter = playlistConverter; }
public SubresourceFactoryBuilder() { var dateTimeConverter = new DateTimeConverter(); var tagListConverter = new TagListConverter(); userConverter = new UserConverter(); applicationConverter = new ApplicationConverter(); trackConverter = new TrackConverter(userConverter, tagListConverter, applicationConverter, dateTimeConverter); commentConverter = new CommentConverter(userConverter, dateTimeConverter); playlistConverter = new PlaylistConverter(userConverter, trackConverter, tagListConverter, dateTimeConverter); paginationValidator = new PaginationValidator(); groupConverter = new GroupConverter(userConverter, dateTimeConverter); webProfileConverter = new WebProfileConverter(dateTimeConverter); connectionConverter = new ConnectionConverter(dateTimeConverter); activityResultConverter = new ActivityResultConverter(trackConverter, commentConverter, userConverter, playlistConverter, dateTimeConverter); }
public SubresourceFactoryBuilder() { var dateTimeConverter = new DateTimeConverter(); var tagListConverter = new TagListConverter(); userConverter = new UserConverter(); applicationConverter = new ApplicationConverter(); trackConverter = new TrackConverter(userConverter, tagListConverter, applicationConverter, dateTimeConverter); commentConverter = new CommentConverter(userConverter, dateTimeConverter); playlistConverter = new PlaylistConverter(userConverter, trackConverter, tagListConverter, dateTimeConverter); paginationValidator = new PaginationValidator(); groupConverter = new GroupConverter(userConverter, dateTimeConverter); webProfileConverter = new WebProfileConverter(dateTimeConverter); connectionConverter = new ConnectionConverter(dateTimeConverter); activityResultConverter = new ActivityResultConverter(trackConverter, commentConverter, userConverter, playlistConverter, dateTimeConverter); searchParametersBuilder = new CompositeSearchParametersBuilder(new IVersionDependentSearchParametersBuilder[] { new V1SearchParametersBuilder(), new V2SearchParametersBuilder() }); }
internal UserApi( string userId, ISoundCloudRawClient soundCloudRawClient, IPaginationValidator paginationValidator, IUserConverter userConverter, ITrackConverter trackConverter, IPlaylistConverter playlistConverter, ICommentConverter commentConverter, IGroupConverter groupConverter, IWebProfileConverter webProfileConverter, string customPrefix = null) { this.userId = userId; this.soundCloudRawClient = soundCloudRawClient; this.paginationValidator = paginationValidator; this.userConverter = userConverter; this.trackConverter = trackConverter; this.playlistConverter = playlistConverter; this.commentConverter = commentConverter; this.groupConverter = groupConverter; this.webProfileConverter = webProfileConverter; prefix = string.IsNullOrEmpty(customPrefix) ? string.Format("users/{0}", userId) : customPrefix; }