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