private record

This commit is contained in:
2024-10-19 09:32:22 -07:00
parent 0ee1846c72
commit 19326df4c6
27 changed files with 206 additions and 168 deletions

View File

@ -3,7 +3,7 @@ using System.Text.Json.Serialization;
namespace File_Folder_Helper.Models;
public record VSCodeTask([property: JsonPropertyName("label")] string? Label,
internal record VSCodeTask([property: JsonPropertyName("label")] string? Label,
[property: JsonPropertyName("command")] string? Command,
[property: JsonPropertyName("type")] string? Type,
[property: JsonPropertyName("args")] IReadOnlyList<string>? Arguments,
@ -24,7 +24,7 @@ internal partial class VSCodeTaskSourceGenerationContext : JsonSerializerContext
{
}
public record VSCodeTasks([property: JsonPropertyName("version")] string? Version,
internal record VSCodeTasks([property: JsonPropertyName("version")] string? Version,
[property: JsonPropertyName("tasks")] VSCodeTask[]? TaskCollection)
{