mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 06:11:10 +00:00
Standardizes the DebuggerDisplay separators.
This commit is contained in:
1 parent
04eb1ad8be
commit
5bd1f457f1
62 files changed
+62
-62
No files matched your search
@@ -9,7 +9,7 @@ namespace Lumina.Presentation.Web.Common.DTO.AudioLibrary;
|
||||
/// <summary>
|
||||
/// Data transfer object for the rating of an audio media element.
|
||||
/// </summary>
|
||||
[DebuggerDisplay("Value: {Value}, MaxValue: {MaxValue}")]
|
||||
[DebuggerDisplay("Value: {Value}; MaxValue: {MaxValue}")]
|
||||
public class AudioRatingDto : RatingDto
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Lumina.Presentation.Web.Common.DTO.Authorization;
|
||||
/// </summary>
|
||||
/// <param name="Id">The unique identifier of the permission.</param>
|
||||
/// <param name="PermissionName">The name of the permission.</param>
|
||||
[DebuggerDisplay("Id: {Id}, PermissionName: {PermissionName}")]
|
||||
[DebuggerDisplay("Id: {Id}; PermissionName: {PermissionName}")]
|
||||
public record PermissionDto(
|
||||
Guid Id,
|
||||
AuthorizationPermission PermissionName
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Lumina.Presentation.Web.Common.DTO.Authorization;
|
||||
/// </summary>
|
||||
/// <param name="Id">The unique identifier of the role.</param>
|
||||
/// <param name="RoleName">The name of the role.</param>
|
||||
[DebuggerDisplay("Id: {Id}, RoleName: {RoleName}")]
|
||||
[DebuggerDisplay("Id: {Id}; RoleName: {RoleName}")]
|
||||
public record RoleDto(
|
||||
Guid Id,
|
||||
string RoleName
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace Lumina.Presentation.Web.Common.DTO.Common;
|
||||
/// <summary>
|
||||
/// Data transfer object for the data shown on the error page.
|
||||
/// </summary>
|
||||
[DebuggerDisplay("RequestId: {RequestId}, ShouldShowRequestId: {ShouldShowRequestId}")]
|
||||
[DebuggerDisplay("RequestId: {RequestId}; ShouldShowRequestId: {ShouldShowRequestId}")]
|
||||
public class ErrorViewDto
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Lumina.Presentation.Web.Common.DTO.Common;
|
||||
/// <summary>
|
||||
/// Data transfer object for a stored piece of artwork of a media item.
|
||||
/// </summary>
|
||||
[DebuggerDisplay("Type: {Type}, Ordinal: {Ordinal}, Path: {Path}")]
|
||||
[DebuggerDisplay("Type: {Type}; Ordinal: {Ordinal}; Path: {Path}")]
|
||||
public class MediaArtworkDto
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Lumina.Presentation.Web.Common.DTO.Common;
|
||||
/// <param name="Id">The id of the notification.</param>
|
||||
/// <param name="Message">The message of the notification.</param>
|
||||
/// <param name="Type">The type of the notification.</param>
|
||||
[DebuggerDisplay("Id: {Id}, Message: {Message}")]
|
||||
[DebuggerDisplay("Id: {Id}; Message: {Message}")]
|
||||
public record struct NotificationDto(
|
||||
Guid Id,
|
||||
string Message,
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Lumina.Presentation.Web.Common.DTO.Common;
|
||||
/// <summary>
|
||||
/// Data transfer object for a rating.
|
||||
/// </summary>
|
||||
[DebuggerDisplay("Value: {Value}, MaxValue: {MaxValue}")]
|
||||
[DebuggerDisplay("Value: {Value}; MaxValue: {MaxValue}")]
|
||||
public abstract class RatingDto
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Lumina.Presentation.Web.Common.DTO.Plugins;
|
||||
/// <summary>
|
||||
/// Data transfer object for a single setting of a plugin.
|
||||
/// </summary>
|
||||
[DebuggerDisplay("Key: {Key}, Label: {Label}")]
|
||||
[DebuggerDisplay("Key: {Key}; Label: {Label}")]
|
||||
public class PluginSettingDescriptorDto
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Lumina.Presentation.Web.Common.DTO.Reading;
|
||||
/// <summary>
|
||||
/// Data transfer object for the reading availability of a book.
|
||||
/// </summary>
|
||||
[DebuggerDisplay("BookId: {BookId}, IsAvailable: {IsAvailable}")]
|
||||
[DebuggerDisplay("BookId: {BookId}; IsAvailable: {IsAvailable}")]
|
||||
public class ReadingAvailabilityDto
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace Lumina.Presentation.Web.Common.DTO.Scheduling;
|
||||
/// <param name="Status">The status of the scheduled job.</param>
|
||||
/// <param name="LastStartedOnUtc">The optional date and time when the task of the scheduled job last started its execution.</param>
|
||||
/// <param name="LastCompletedOnUtc">The optional date and time when the task of the scheduled job last completed its execution.</param>
|
||||
[DebuggerDisplay("Id: {Id}, Name: {Name}, Status: {Status}")]
|
||||
[DebuggerDisplay("Id: {Id}; Name: {Name}; Status: {Status}")]
|
||||
public record ScheduledJobDto(
|
||||
Guid Id,
|
||||
string Name,
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Lumina.Presentation.Web.Common.DTO.Scheduling;
|
||||
/// <param name="IsCycleRun"><see langword="true"/> when the execution was triggered by the execution cycle of the scheduled job.</param>
|
||||
/// <param name="StartedOnUtc">The date and time when the execution started.</param>
|
||||
/// <param name="CompletedOnUtc">The optional date and time when the execution completed.</param>
|
||||
[DebuggerDisplay("Id: {Id}, ScheduledJobId: {ScheduledJobId}")]
|
||||
[DebuggerDisplay("Id: {Id}; ScheduledJobId: {ScheduledJobId}")]
|
||||
public record ScheduledJobExecutionDto(
|
||||
Guid Id,
|
||||
Guid ScheduledJobId,
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Lumina.Presentation.Web.Common.DTO.Scheduling;
|
||||
/// <param name="JobTypeFilter">The type of the scheduled job tasks whose executions are shown on the scheduler page, or <see langword="null"/> when all of them are shown.</param>
|
||||
/// <param name="DisplayTimeSpan">The time span, expressed in <paramref name="DisplayTimeUnit"/>, that the scheduler page shows.</param>
|
||||
/// <param name="DisplayTimeUnit">The unit in which the displayed time span of the scheduler page is expressed.</param>
|
||||
[DebuggerDisplay("UserId: {UserId}, DisplayTimeSpan: {DisplayTimeSpan} {DisplayTimeUnit}")]
|
||||
[DebuggerDisplay("UserId: {UserId}; DisplayTimeSpan: {DisplayTimeSpan} {DisplayTimeUnit}")]
|
||||
public record SchedulerDisplayPreferencesDto(
|
||||
Guid UserId,
|
||||
ScheduledTaskType? JobTypeFilter,
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ namespace Lumina.Presentation.Web.Common.DTO.Themes;
|
||||
/// <param name="Path">The initial path displayed by the file system browser.</param>
|
||||
/// <param name="ViewMode">The initial view mode of the file system browser.</param>
|
||||
/// <param name="IconSize">The initial icon size of the file system browser.</param>
|
||||
[DebuggerDisplay("Path: {Path}, ViewMode: {ViewMode}")]
|
||||
[DebuggerDisplay("Path: {Path}; ViewMode: {ViewMode}")]
|
||||
public sealed record ThemeFileSystemBrowserConfigurationDto(
|
||||
string ClientBasePath,
|
||||
string Path,
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Lumina.Presentation.Web.Common.DTO.Themes;
|
||||
/// <param name="PreviewUrl">The URL of the theme preview image.</param>
|
||||
/// <param name="IsBundled">Whether the theme ships with the application or noy.</param>
|
||||
/// <param name="IsDeleted">Whether the theme was deleted by the user, which is only possible for bundled themes.</param>
|
||||
[DebuggerDisplay("Id: {Id}, Name: {Name}")]
|
||||
[DebuggerDisplay("Id: {Id}; Name: {Name}")]
|
||||
public sealed record ThemeInfoDto(
|
||||
string Id,
|
||||
string Name,
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Lumina.Presentation.Web.Common.DTO.Themes;
|
||||
/// </summary>
|
||||
/// <param name="Content">The rendered HTML content of the page section.</param>
|
||||
/// <param name="Script">The rendered script element of the page section, when the template defines one.</param>
|
||||
[DebuggerDisplay("Content length: {Content.Length}, Script length: {Script.Length}")]
|
||||
[DebuggerDisplay("Content length: {Content.Length}; Script length: {Script.Length}")]
|
||||
public sealed record ThemePageRenderResultDto(
|
||||
string Content,
|
||||
string Script
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace Lumina.Presentation.Web.Common.DTO.Themes;
|
||||
/// <param name="IsCurrent">Whether the theme is the currently active one.</param>
|
||||
/// <param name="InstalledAtUtc">The UTC timestamp at which the theme was installed.</param>
|
||||
/// <param name="IsDeleted">Whether the theme was deleted by the user, which is only possible for bundled themes.</param>
|
||||
[DebuggerDisplay("ThemeId: {ThemeId}, Name: {Name}")]
|
||||
[DebuggerDisplay("ThemeId: {ThemeId}; Name: {Name}")]
|
||||
public sealed record ThemeResponseDto(
|
||||
Guid Id,
|
||||
string ThemeId,
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Lumina.Presentation.Web.Common.DTO.Themes;
|
||||
/// </summary>
|
||||
/// <param name="Content">The rendered HTML content of the page section.</param>
|
||||
/// <param name="Script">The rendered script element of the page section, when the template defines one.</param>
|
||||
[DebuggerDisplay("Content length: {Content.Length}, Script length: {Script.Length}")]
|
||||
[DebuggerDisplay("Content length: {Content.Length}; Script length: {Script.Length}")]
|
||||
public sealed record ThemeViewDto(
|
||||
string Content,
|
||||
string Script
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Lumina.Presentation.Web.Common.DTO.UsersManagement;
|
||||
/// </summary>
|
||||
/// <param name="Id">The unique identifier of the user.</param>
|
||||
/// <param name="Username">The username of the user.</param>
|
||||
[DebuggerDisplay("Id: {Id}, Username: {Username}")]
|
||||
[DebuggerDisplay("Id: {Id}; Username: {Username}")]
|
||||
public record UserDto(
|
||||
Guid Id,
|
||||
string Username
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ namespace Lumina.Presentation.Web.Common.DTO.WrittenContentLibrary.BookLibrary;
|
||||
/// <summary>
|
||||
/// Data transfer object for a book rating.
|
||||
/// </summary>
|
||||
[DebuggerDisplay("Value: {Value}, MaxValue: {MaxValue}")]
|
||||
[DebuggerDisplay("Value: {Value}; MaxValue: {MaxValue}")]
|
||||
public class BookRatingDto : RatingDto
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ namespace Lumina.Presentation.Web.Common.Requests.FileSystemManagement.Path;
|
||||
/// </summary>
|
||||
/// <param name="Path">The file system path to check the exitence of. Required.</param>
|
||||
/// <param name="ShouldIncludeHiddenElements">Whether to include hidden elements in the search results, or not. Optional.</param>
|
||||
[DebuggerDisplay("Path: {Path}, ShouldIncludeHiddenElements: {ShouldIncludeHiddenElements}")]
|
||||
[DebuggerDisplay("Path: {Path}; ShouldIncludeHiddenElements: {ShouldIncludeHiddenElements}")]
|
||||
public record CheckPathExistsRequest(
|
||||
string? Path,
|
||||
bool ShouldIncludeHiddenElements
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ namespace Lumina.Presentation.Web.Common.Requests.Library.WrittenContentLibrary.
|
||||
/// <param name="BookId">The unique identifier of the book whose resource is retrieved. Required.</param>
|
||||
/// <param name="ResourceKey">The opaque resource key of the resource. Required.</param>
|
||||
/// <param name="LibraryId">The Id of the media library the book belongs to. Required.</param>
|
||||
[DebuggerDisplay("BookId: {BookId}, ResourceKey: {ResourceKey}")]
|
||||
[DebuggerDisplay("BookId: {BookId}; ResourceKey: {ResourceKey}")]
|
||||
public record GetBookReadingResourceRequest(
|
||||
Guid BookId,
|
||||
string ResourceKey,
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ namespace Lumina.Presentation.Web.Common.Requests.Library.WrittenContentLibrary.
|
||||
/// <param name="BookId">The unique identifier of the book whose reading section is retrieved. Required.</param>
|
||||
/// <param name="LocationRef">The opaque location reference of the reading section. Required.</param>
|
||||
/// <param name="LibraryId">The Id of the media library the book belongs to. Required.</param>
|
||||
[DebuggerDisplay("BookId: {BookId}, LocationRef: {LocationRef}")]
|
||||
[DebuggerDisplay("BookId: {BookId}; LocationRef: {LocationRef}")]
|
||||
public record GetBookReadingSectionRequest(
|
||||
Guid BookId,
|
||||
string LocationRef,
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ namespace Lumina.Presentation.Web.Common.Requests.Scheduling;
|
||||
/// </summary>
|
||||
/// <param name="From">The inclusive lower bound of the interval for which the history is requested. Optional.</param>
|
||||
/// <param name="To">The inclusive upper bound of the interval for which the history is requested. Optional.</param>
|
||||
[DebuggerDisplay("From: {From}, To: {To}")]
|
||||
[DebuggerDisplay("From: {From}; To: {To}")]
|
||||
public record GetScheduledJobHistoryRequest(
|
||||
DateTime? From,
|
||||
DateTime? To
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Lumina.Presentation.Web.Common.Requests.Themes;
|
||||
/// </summary>
|
||||
/// <param name="ThemeId">The manifest id of the theme. Required.</param>
|
||||
/// <param name="Path">The asset path relative to the theme pack root. Required.</param>
|
||||
[DebuggerDisplay("ThemeId: {ThemeId}, Path: {Path}")]
|
||||
[DebuggerDisplay("ThemeId: {ThemeId}; Path: {Path}")]
|
||||
public record GetThemeAssetRequest(
|
||||
string? ThemeId,
|
||||
string? Path
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Lumina.Presentation.Web.Common.Requests.Tools;
|
||||
/// </summary>
|
||||
/// <param name="NewCulture">The new culture to set. Required.</param>
|
||||
/// <param name="ReturnUrl">The URL to return to, after setting the new culture. Optional.</param>
|
||||
[DebuggerDisplay("NewCulture: {NewCulture}, ReturnUrl: {ReturnUrl}")]
|
||||
[DebuggerDisplay("NewCulture: {NewCulture}; ReturnUrl: {ReturnUrl}")]
|
||||
public record SetLanguageRequest(
|
||||
string? NewCulture,
|
||||
string? ReturnUrl
|
||||
|
||||
Reference in new issue
Block a user