Implements directory browser dialog, part 1: file system treeview

This commit is contained in:
BinaryAlley committed 2024-09-15 13:07:53 +03:00
1 parent 4a53348013
commit 4e4ecbbfca
318 files changed
+6012 -1184

No files matched your search

@@ -0,0 +1,25 @@
#region ========================================================================= USING =====================================================================================
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.MediaContributors;
/// <summary>
/// Represents a media contributor.
/// </summary>
[DebuggerDisplay("{Name}")]
public class MediaContributorModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
/// Gets the name of the contributor.
/// </summary>
public MediaContributorNameModel? Name { get; set; }
/// <summary>
/// Gets the role of the contributor.
/// </summary>
public MediaContributorRoleModel? Role { get; set; }
#endregion
}
@@ -0,0 +1,24 @@
#region ========================================================================= USING =====================================================================================
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.MediaContributors;
/// <summary>
/// Represents a media contributor name.
/// </summary>
[DebuggerDisplay("{DisplayName}")]
public class MediaContributorNameModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
/// Gets the name by which the contributor is popularly known.
/// </summary>
public string? DisplayName { get; set; }
/// <summary>
/// Gets the legal name of the contributor.
/// </summary>
public string? LegalName { get; set; }
#endregion
}
@@ -0,0 +1,24 @@
#region ========================================================================= USING =====================================================================================
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Models.MediaContributors;
/// <summary>
/// Represents a media contributor role.
/// </summary>
[DebuggerDisplay("{Name}")]
public class MediaContributorRoleModel
{
#region ==================================================================== PROPERTIES =================================================================================
/// <summary>
/// Gets the value representing this object.
/// </summary>
public string? Name { get; set; }
/// <summary>
/// Gets the category of this object.
/// </summary>
public string? Category { get; set; }
#endregion
}