コード例 #1
0
 public UploadController(ISongs songs, IAlbums albums, IArtists artists)
 {
     _songs   = songs;
     _albums  = albums;
     _artists = artists;
     _session = new DriveSession();
 }
コード例 #2
0
 public static void Assign(IConfig config, ISettings settings, IThemes themes, IBackgroundMusic backgroundMusic,
                           IDrawing draw, IGraphics graphics, IFonts fonts, ILanguage language, IGame game, IProfiles profiles, IRecording record,
                           ISongs songs, IVideo video, ISound sound, ICover cover, IDataBase dataBase, IControllers controller, IPlaylist playlist)
 {
     Config          = config;
     Settings        = settings;
     Themes          = themes;
     BackgroundMusic = backgroundMusic;
     Drawing         = draw;
     Graphics        = graphics;
     Fonts           = fonts;
     Language        = language;
     Game            = game;
     Profiles        = profiles;
     Record          = record;
     Songs           = songs;
     Video           = video;
     Sound           = sound;
     Cover           = cover;
     DataBase        = dataBase;
     Controller      = controller;
     Playlist        = playlist;
 }
コード例 #3
0
 public SongController(ISongs songs, ILogger <SongController> logger)
 {
     _songs  = songs;
     _logger = logger;
 }
コード例 #4
0
 public SongController(ISongs _services)
 {
     this._services = _services;
 }
コード例 #5
0
 public ArtistsController(UserManager <AppUser> userManager, IMapper mapper, ISongs songs)
 {
     this.userManager = userManager;
     _mapper          = mapper;
     _songsRepo       = songs;
 }
コード例 #6
0
 public PlaylistController(IPlaylist _services, ISongs _servicesSongs)
 {
     this._services      = _services;
     this._servicesSongs = _servicesSongs;
 }
コード例 #7
0
 public SongsController(IMapper mapper, ISongs songs)
 {
     _songsRepo = songs;
     _mapper    = mapper;
 }