mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
31 lines
864 B
C#
31 lines
864 B
C#
using MediaBrowser.Model.Dto;
|
|
using System;
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
|
{
|
|
/// <summary>
|
|
/// Interface IHasUserData
|
|
/// </summary>
|
|
public interface IHasUserData
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the identifier.
|
|
/// </summary>
|
|
/// <value>The identifier.</value>
|
|
Guid Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets the user data key.
|
|
/// </summary>
|
|
/// <returns>System.String.</returns>
|
|
string GetUserDataKey();
|
|
|
|
/// <summary>
|
|
/// Fills the user data dto values.
|
|
/// </summary>
|
|
/// <param name="dto">The dto.</param>
|
|
/// <param name="userData">The user data.</param>
|
|
/// <param name="user">The user.</param>
|
|
void FillUserDataDtoValues(UserItemDataDto dto, UserItemData userData, User user);
|
|
}
|
|
}
|