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 TrackConverter(IUserConverter userConverter, ITagListConverter tagListConverter, IApplicationConverter applicationConverter, IDateTimeConverter dateTimeConverter)
 {
     this.userConverter        = userConverter;
     this.tagListConverter     = tagListConverter;
     this.applicationConverter = applicationConverter;
     this.dateTimeConverter    = dateTimeConverter;
 }
Example #3
0
 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 TrackConverter(IUserConverter userConverter, ITagListConverter tagListConverter, IApplicationConverter applicationConverter, IDateTimeConverter dateTimeConverter)
 {
     this.userConverter = userConverter;
     this.tagListConverter = tagListConverter;
     this.applicationConverter = applicationConverter;
     this.dateTimeConverter = dateTimeConverter;
 }
        internal AppApi(
            string applicationId,
            IPaginationValidator paginationValidator,
            ISoundCloudRawClient soundCloudRawClient,
            IApplicationConverter applicationConverter,
            ITrackConverter trackConverter)
        {
            this.paginationValidator  = paginationValidator;
            this.soundCloudRawClient  = soundCloudRawClient;
            this.applicationConverter = applicationConverter;
            this.trackConverter       = trackConverter;

            prefix = string.Format("apps/{0}", applicationId);
        }
        internal AppApi(
            string applicationId, 
            IPaginationValidator paginationValidator, 
            ISoundCloudRawClient soundCloudRawClient, 
            IApplicationConverter applicationConverter,
            ITrackConverter trackConverter)
        {
            this.paginationValidator = paginationValidator;
            this.soundCloudRawClient = soundCloudRawClient;
            this.applicationConverter = applicationConverter;
            this.trackConverter = trackConverter;

            prefix = string.Format("apps/{0}", applicationId);
        }
        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);
        }
        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() });
        }