// Copyright (c) Arlo Godfrey. All Rights Reserved.
// Licensed under the GNU Lesser General Public License, Version 3.0 with additional terms.
// See the LICENSE, LICENSE.LESSER and LICENSE.ADDITIONAL files in the project root for more information.
using CommunityToolkit.Diagnostics;
using StrixMusic.Sdk.AppModels;
using StrixMusic.Sdk.BaseModels;
namespace StrixMusic.Sdk.ViewModels
{
///
/// Contains bindable information about an
///
public class UserViewModel : UserProfileViewModel, ISdkViewModel
{
///
/// A ViewModel for .
///
/// The to wrap.
public UserViewModel(IUser user)
: base(user)
{
Guard.IsNotNull(user, nameof(user));
Library = new LibraryViewModel(user.Library);
}
///
public LibraryViewModel Library { get; }
}
}