internal TrackConverter(IUserConverter userConverter, ITagListConverter tagListConverter, IApplicationConverter applicationConverter, IDateTimeConverter dateTimeConverter)
 {
     this.userConverter = userConverter;
     this.tagListConverter = tagListConverter;
     this.applicationConverter = applicationConverter;
     this.dateTimeConverter = dateTimeConverter;
 }
Esempio n. 2
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 PlaylistConverter(IUserConverter userConverter, ITrackConverter trackConverter, ITagListConverter tagListConverter, IDateTimeConverter dateTimeConverter)
 {
     this.userConverter = userConverter;
     this.trackConverter = trackConverter;
     this.tagListConverter = tagListConverter;
     this.dateTimeConverter = dateTimeConverter;
 }
 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;
 }
Esempio n. 5
0
 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;
 }
Esempio n. 6
0
 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;
 }
Esempio n. 7
0
 internal PlaylistConverter(IUserConverter userConverter, ITrackConverter trackConverter, ITagListConverter tagListConverter, IDateTimeConverter dateTimeConverter)
 {
     this.userConverter     = userConverter;
     this.trackConverter    = trackConverter;
     this.tagListConverter  = tagListConverter;
     this.dateTimeConverter = dateTimeConverter;
 }
 internal TrackConverter(IUserConverter userConverter, ITagListConverter tagListConverter, IApplicationConverter applicationConverter, IDateTimeConverter dateTimeConverter)
 {
     this.userConverter        = userConverter;
     this.tagListConverter     = tagListConverter;
     this.applicationConverter = applicationConverter;
     this.dateTimeConverter    = dateTimeConverter;
 }
Esempio n. 9
0
 public UsersController(
     IMediator mediator,
     IUserConverter userConverter, ITripBriefResourceConverter tripBriefResourceConverter)
 {
     _mediator      = mediator;
     _userConverter = userConverter;
     _tripBriefResourceConverter = tripBriefResourceConverter;
 }
Esempio n. 10
0
 public AuthenticationController(
     IAccountService accountService,
     ILogger <AuthenticationController> logger,
     IUserConverter userConverter)
 {
     _accountService = accountService;
     _logger         = logger;
     _userConverter  = userConverter;
 }
Esempio n. 11
0
 public UserService(
     IUnitOfWork uow,
     ILogger <UserService> logger,
     IImageProvider imageProvider,
     IUserConverter userConverter)
     : base(uow, logger)
 {
     _imageProvider = imageProvider ?? throw new ArgumentNullException(nameof(imageProvider));
     _userConverter = userConverter ?? throw new ArgumentNullException(nameof(userConverter));
 }
Esempio n. 12
0
 public CompanyService(
     IUnitOfWork uow,
     ILogger <CompanyService> logger,
     ICompanyConverter companyConverter,
     IUserConverter userConverter)
     : base(uow, logger)
 {
     _companyConverter = companyConverter ?? throw new ArgumentNullException(nameof(companyConverter));
     _userConverter    = userConverter ?? throw new ArgumentNullException(nameof(userConverter));
 }
 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;
 }
Esempio n. 14
0
 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;
 }
Esempio n. 15
0
        internal GroupApi(
            string groupId,
            ISoundCloudRawClient soundCloudRawClient,
            IPaginationValidator paginationValidator,
            IGroupConverter groupConverter,
            IUserConverter userConverter,
            ITrackConverter trackConverter)
        {
            this.soundCloudRawClient = soundCloudRawClient;
            this.paginationValidator = paginationValidator;
            this.groupConverter      = groupConverter;
            this.userConverter       = userConverter;
            this.trackConverter      = trackConverter;

            prefix = string.Format("groups/{0}", groupId);
        }
        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);
        }
Esempio n. 18
0
        internal TrackApi(
            string trackId,
            ISoundCloudRawClient soundCloudRawClient,
            IPaginationValidator paginationValidator,
            ITrackConverter trackConverter,
            IUserConverter userConverter,
            ICommentConverter commentConverter)
        {
            this.trackId             = trackId;
            this.soundCloudRawClient = soundCloudRawClient;
            this.paginationValidator = paginationValidator;
            this.trackConverter      = trackConverter;
            this.userConverter       = userConverter;
            this.commentConverter    = commentConverter;

            prefix = string.Format("tracks/{0}", trackId);
        }
        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() });
        }
Esempio n. 20
0
        internal TrackApi(
            string trackId, 
            ISoundCloudRawClient soundCloudRawClient, 
            IPaginationValidator paginationValidator, 
            ITrackConverter trackConverter, 
            IUserConverter userConverter,
            ICommentConverter commentConverter)
        {
            this.trackId = trackId;
            this.soundCloudRawClient = soundCloudRawClient;
            this.paginationValidator = paginationValidator;
            this.trackConverter = trackConverter;
            this.userConverter = userConverter;
            this.commentConverter = commentConverter;

            prefix = string.Format("tracks/{0}", trackId);
        }
Esempio n. 21
0
        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;
        }
Esempio n. 22
0
        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;
        }
Esempio n. 23
0
 public UserRepository()
 {
     _userConverter = new UserConverter();
 }
Esempio n. 24
0
 internal UsersApi(ISoundCloudRawClient soundCloudRawClient, IPaginationValidator paginationValidator, IUserConverter userConverter)
 {
     this.soundCloudRawClient = soundCloudRawClient;
     this.paginationValidator = paginationValidator;
     this.userConverter       = userConverter;
 }
Esempio n. 25
0
 public ChapterConverter(IUserConverter userConverter)
 {
     _userConverter = userConverter;
 }
 internal CommentConverter(IUserConverter userConverter, IDateTimeConverter dateTimeConverter)
 {
     this.userConverter     = userConverter;
     this.dateTimeConverter = dateTimeConverter;
 }
Esempio n. 27
0
 ///-------------------------------------------------------------------------------------------------
 /// <summary>
 ///     initializes a new instance of the
 ///     WK.Orion.Platform.Examples.Components.UserDefinedFields.DataAccessLayer.Repositories.UserRepository class.
 /// </summary>
 ///
 /// <param name="iudfConverter"> The udf converter. </param>
 ///-------------------------------------------------------------------------------------------------
 public UserRepository(IUserConverter iudfConverter)
 {
     _iudfConverter = iudfConverter;
 }
Esempio n. 28
0
 public StatusQueueConsumer(IUserConverter userConverter, IConsumer consumer)
 {
     this.userConverter = userConverter;
     this.consumer      = consumer;
 }
Esempio n. 29
0
 public HomeController(IUserMapper mapper, IDataFromRole dataFromRole, IUserConverter userConverter)
 {
     this.mapper        = mapper;
     this.dataFromRole  = dataFromRole;
     this.userConverter = userConverter;
 }
Esempio n. 30
0
 internal GroupConverter(IUserConverter userConverter, IDateTimeConverter dateTimeConverter)
 {
     this.userConverter     = userConverter;
     this.dateTimeConverter = dateTimeConverter;
 }
 internal GroupConverter(IUserConverter userConverter, IDateTimeConverter dateTimeConverter)
 {
     this.userConverter = userConverter;
     this.dateTimeConverter = dateTimeConverter;
 }
Esempio n. 32
0
 internal UsersApi(ISoundCloudRawClient soundCloudRawClient, IPaginationValidator paginationValidator, IUserConverter userConverter)
 {
     this.soundCloudRawClient = soundCloudRawClient;
     this.paginationValidator = paginationValidator;
     this.userConverter = userConverter;
 }
 internal CommentConverter(IUserConverter userConverter, IDateTimeConverter dateTimeConverter)
 {
     this.userConverter = userConverter;
     this.dateTimeConverter = dateTimeConverter;
 }