ExtractKanban
This commit is contained in:
@ -1,13 +1,17 @@
|
||||
using Microsoft.Extensions.Logging;
|
||||
#if WorkItems
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
#endif
|
||||
|
||||
namespace File_Folder_Helper.ADO2024.PI4;
|
||||
|
||||
internal static partial class Helper20241108
|
||||
{
|
||||
|
||||
#if WorkItems
|
||||
|
||||
private record Attribute([property: JsonPropertyName("isLocked")] bool IsLocked,
|
||||
[property: JsonPropertyName("name")] string Name,
|
||||
[property: JsonPropertyName("parameterTitle")] string? ParameterTitle,
|
||||
@ -367,4 +371,14 @@ internal static partial class Helper20241108
|
||||
}
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
internal static void WriteMarkdown(ILogger<Worker> logger, List<string> args)
|
||||
{
|
||||
logger.LogError("WriteMarkdown is not available in WorkItems {args[0]}", args[0]);
|
||||
logger.LogError("WriteMarkdown is not available in WorkItems {args[1]}", args[1]);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
}
|
Reference in New Issue
Block a user