public UpdatePlaylistResultWrapper(
     ISubsonicServiceConfiguration configuration, 
     int id, 
     IEnumerable<int> songIdsToAdd, 
     IEnumerable<int> songIndexesToRemove)
     : base(configuration, id, songIdsToAdd, songIndexesToRemove)
 {
 }
 public UpdatePlaylistResult(
     ISubsonicServiceConfiguration configuration, 
     int id, 
     IEnumerable<int> songIdsToAdd, 
     IEnumerable<int> songIndexesToRemove)
     : base(configuration)
 {
     Id = id;
     SongIdsToAdd = songIdsToAdd;
     SongIndexesToRemove = songIndexesToRemove;
 }
Exemple #3
0
 public PingResult(ISubsonicServiceConfiguration configuration)
     : base(configuration)
 {
 }
 public void Setup()
 {
     _subsonicServiceConfiguration = new SubsonicServiceConfiguration();
     _subject = new GetRootResult(_subsonicServiceConfiguration);
 }
Exemple #5
0
 public GetPlaylistResult(ISubsonicServiceConfiguration configuration, int id)
     : base(configuration)
 {
     Id = id;
 }
 public ResultWrapper(ISubsonicServiceConfiguration configuration, int numberOfSongs)
     : base(configuration, numberOfSongs)
 {
 }
Exemple #7
0
 public CreatePlaylistResult(ISubsonicServiceConfiguration configuration, string name, IEnumerable <int> songIds)
     : base(configuration)
 {
     Name    = name;
     SongIds = songIds;
 }
Exemple #8
0
 public GetIndexResult(ISubsonicServiceConfiguration configuration, int musicFolderId)
     : base(configuration)
 {
     MusicFolderId = musicFolderId;
 }
 public DeletePlaylistResult(ISubsonicServiceConfiguration configuration, int id)
     : base(configuration)
 {
     Id = id;
 }
Exemple #10
0
 public SearchResult(ISubsonicServiceConfiguration configuration, string query)
     : base(configuration)
 {
     _query = query;
 }
 protected EmptyResponseResultBase(ISubsonicServiceConfiguration configuration)
     : base(configuration)
 {
 }
 public void Setup()
 {
     _subsonicServiceConfiguration = new SubsonicServiceConfiguration();
     _subject = new GetRootResult(_subsonicServiceConfiguration);
 }
 public CreatePlaylistResultWrapper(
     ISubsonicServiceConfiguration configuration, string name, IEnumerable <int> songIds)
     : base(configuration, name, songIds)
 {
 }
Exemple #14
0
 public GetSongResult(ISubsonicServiceConfiguration configuration, int id)
     : base(configuration)
 {
     _id = id;
 }
Exemple #15
0
 public GetRootResult(ISubsonicServiceConfiguration configuration)
     : base(configuration)
 {
 }
 public CreatePlaylistResultWrapper(
     ISubsonicServiceConfiguration configuration, string name, IEnumerable<int> songIds)
     : base(configuration, name, songIds)
 {
 }
 public static string RequestFormatWithUsernameAndPassword(this ISubsonicServiceConfiguration configuration)
 {
     return(configuration.BaseUrl + "rest/{0}?u={1}&p={2}&v=1.8.0&c=SubSonic8");
 }
 public RenamePlaylistResultWrapper(ISubsonicServiceConfiguration configuration, int id, string name)
     : base(configuration, id, name)
 {
 }
 public static string RequestFormat(this ISubsonicServiceConfiguration configuration)
 {
     return(configuration.BaseUrl + "rest/{0}?v=1.8.0&c=SubSonic8");
 }
 public GetPlaylistResultWrapper(ISubsonicServiceConfiguration configuration, int id)
     : base(configuration, id)
 {
 }
 public CreatePlaylistResult(ISubsonicServiceConfiguration configuration, string name, IEnumerable<int> songIds)
     : base(configuration)
 {
     Name = name;
     SongIds = songIds;
 }