Skip to content

Commit 7084478

Browse files
mikekistlerhalter73
andcommitted
Apply suggestions from code review
Co-authored-by: Stephen Halter <[email protected]>
1 parent 7da8238 commit 7084478

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

samples/EverythingServer/Program.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@
3434
Icons = [
3535
new Icon
3636
{
37-
Source = "https://raw.githubusercontent.com/microsoft/fluentui-emoji/main/assets/Gear/Flat/gear_flat.svg",
37+
Source = "https://raw.githubusercontent.com/microsoft/fluentui-emoji/62ecdc0d7ca5c6df32148c169556bc8d3782fca4/assets/Gear/Flat/gear_flat.svg",
3838
MimeType = "image/svg+xml",
3939
Sizes = ["any"],
4040
Theme = "light"
4141
},
4242
new Icon
4343
{
44-
Source = "https://raw.githubusercontent.com/microsoft/fluentui-emoji/main/assets/Gear/3D/gear_3d.png",
44+
Source = "https://raw.githubusercontent.com/microsoft/fluentui-emoji/62ecdc0d7ca5c6df32148c169556bc8d3782fca4/assets/Gear/3D/gear_3d.png",
4545
MimeType = "image/png",
4646
Sizes = ["256x256"]
4747
}
@@ -90,15 +90,15 @@
9090
// High-resolution PNG icon for light theme
9191
new Icon
9292
{
93-
Source = "https://raw.githubusercontent.com/microsoft/fluentui-emoji/main/assets/Loudspeaker/Flat/loudspeaker_flat.svg",
93+
Source = "https://raw.githubusercontent.com/microsoft/fluentui-emoji/62ecdc0d7ca5c6df32148c169556bc8d3782fca4/assets/Loudspeaker/Flat/loudspeaker_flat.svg",
9494
MimeType = "image/svg+xml",
9595
Sizes = ["any"],
9696
Theme = "light"
9797
},
9898
// 3D icon for dark theme
9999
new Icon
100100
{
101-
Source = "https://raw.githubusercontent.com/microsoft/fluentui-emoji/main/assets/Loudspeaker/3D/loudspeaker_3d.png",
101+
Source = "https://raw.githubusercontent.com/microsoft/fluentui-emoji/62ecdc0d7ca5c6df32148c169556bc8d3782fca4/assets/Loudspeaker/3D/loudspeaker_3d.png",
102102
MimeType = "image/png",
103103
Sizes = ["256x256"],
104104
Theme = "dark"

samples/EverythingServer/Prompts/SimplePromptType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ namespace EverythingServer.Prompts;
66
[McpServerPromptType]
77
public class SimplePromptType
88
{
9-
[McpServerPrompt(Name = "simple_prompt", IconSource = "https://raw.githubusercontent.com/microsoft/fluentui-emoji/main/assets/Light%20bulb/Flat/light_bulb_flat.svg"), Description("A prompt without arguments")]
9+
[McpServerPrompt(Name = "simple_prompt", IconSource = "https://raw.githubusercontent.com/microsoft/fluentui-emoji/62ecdc0d7ca5c6df32148c169556bc8d3782fca4/assets/Light%20bulb/Flat/light_bulb_flat.svg"), Description("A prompt without arguments")]
1010
public static string SimplePrompt() => "This is a simple prompt without arguments";
1111
}

samples/EverythingServer/Resources/SimpleResourceType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace EverythingServer.Resources;
77
[McpServerResourceType]
88
public class SimpleResourceType
99
{
10-
[McpServerResource(UriTemplate = "test://direct/text/resource", Name = "Direct Text Resource", MimeType = "text/plain", IconSource = "https://raw.githubusercontent.com/microsoft/fluentui-emoji/main/assets/Memo/Flat/memo_flat.svg")]
10+
[McpServerResource(UriTemplate = "test://direct/text/resource", Name = "Direct Text Resource", MimeType = "text/plain", IconSource = "https://raw.githubusercontent.com/microsoft/fluentui-emoji/62ecdc0d7ca5c6df32148c169556bc8d3782fca4/assets/Memo/Flat/memo_flat.svg")]
1111
[Description("A direct text resource")]
1212
public static string DirectTextResource() => "This is a direct resource";
1313

samples/EverythingServer/Tools/AddTool.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ namespace EverythingServer.Tools;
66
[McpServerToolType]
77
public class AddTool
88
{
9-
[McpServerTool(Name = "add", IconSource = "https://raw.githubusercontent.com/microsoft/fluentui-emoji/main/assets/Plus/Flat/plus_flat.svg"), Description("Adds two numbers.")]
9+
[McpServerTool(Name = "add", IconSource = "https://raw.githubusercontent.com/microsoft/fluentui-emoji/62ecdc0d7ca5c6df32148c169556bc8d3782fca4/assets/Plus/Flat/plus_flat.svg"), Description("Adds two numbers.")]
1010
public static string Add(int a, int b) => $"The sum of {a} and {b} is {a + b}";
1111
}

0 commit comments

Comments
 (0)