Add net10.0 assets and run some fixers (#875)
This commit is contained in:
parent
e7b403b820
commit
bfc0980ef5
5 changed files with 168 additions and 194 deletions
|
|
@ -13,7 +13,7 @@ public static class IconTests
|
|||
{
|
||||
Source = "https://example.com/icon.png",
|
||||
MimeType = "image/png",
|
||||
Sizes = new List<string> { "48x48" },
|
||||
Sizes = ["48x48"],
|
||||
Theme = "light"
|
||||
};
|
||||
|
||||
|
|
@ -61,7 +61,7 @@ public static class IconTests
|
|||
{
|
||||
Source = "https://example.com/icon.svg",
|
||||
MimeType = "image/svg+xml",
|
||||
Sizes = new List<string> { "any" },
|
||||
Sizes = ["any"],
|
||||
Theme = "dark"
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@ public static class ImplementationTests
|
|||
Version = "1.0.0",
|
||||
Icons =
|
||||
[
|
||||
new() { Source = "https://example.com/icon.png", MimeType = "image/png", Sizes = new List<string> { "48x48" } },
|
||||
new() { Source = "https://example.com/icon.svg", MimeType = "image/svg+xml", Sizes = new List<string> { "any" } }
|
||||
new() { Source = "https://example.com/icon.png", MimeType = "image/png", Sizes = ["48x48"] },
|
||||
new() { Source = "https://example.com/icon.svg", MimeType = "image/svg+xml", Sizes = ["any"] }
|
||||
],
|
||||
WebsiteUrl = "https://example.com"
|
||||
};
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ public static class PromptTests
|
|||
Description = "Review the provided code",
|
||||
Icons =
|
||||
[
|
||||
new() { Source = "https://example.com/review-icon.svg", MimeType = "image/svg+xml", Sizes = new List<string> { "any" } }
|
||||
new() { Source = "https://example.com/review-icon.svg", MimeType = "image/svg+xml", Sizes = ["any"] }
|
||||
],
|
||||
Arguments =
|
||||
[
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ public static class ResourceTests
|
|||
Size = 1024,
|
||||
Icons =
|
||||
[
|
||||
new() { Source = "https://example.com/pdf-icon.png", MimeType = "image/png", Sizes = new List<string> { "32x32" } }
|
||||
new() { Source = "https://example.com/pdf-icon.png", MimeType = "image/png", Sizes = ["32x32"] }
|
||||
],
|
||||
Annotations = new Annotations { Audience = [Role.User] }
|
||||
};
|
||||
|
|
@ -86,7 +86,7 @@ public static class ResourceTests
|
|||
Description = "A test resource",
|
||||
MimeType = "text/plain",
|
||||
Size = 512,
|
||||
Icons = new List<Icon> { new() { Source = "https://example.com/icon.svg" } },
|
||||
Icons = [new() { Source = "https://example.com/icon.svg" }],
|
||||
Annotations = new Annotations { Audience = [Role.User] }
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ public static class ToolTests
|
|||
Description = "Get current weather information",
|
||||
Icons =
|
||||
[
|
||||
new() { Source = "https://example.com/weather.png", MimeType = "image/png", Sizes = new List<string> { "48x48" } }
|
||||
new() { Source = "https://example.com/weather.png", MimeType = "image/png", Sizes = ["48x48"] }
|
||||
],
|
||||
Annotations = new ToolAnnotations
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue