You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Description("Gets the current weather for a given location.")]
36
-
staticstringGetWeather([Description("The city or location to get weather for.")]stringlocation)
37
-
=>$"The current weather in {location} is 72°F and sunny.";
38
-
39
-
[Description("Returns runtime information about this application as a JSON string. Call this when asked about the app's name, architecture, framework, or whether it is running as NativeAOT. Return the JSON result directly to the user without modification.")]
40
40
[UnconditionalSuppressMessage("SingleFile","IL3000",Justification="Assembly.Location returning empty is the intentional AOT detection mechanism.")]
[Description("Gets the current weather for a given location.")]
43
-
staticstringGetWeather([Description("The city or location to get weather for.")]stringlocation)
44
-
=>$"The current weather in {location} is 72°F and sunny.";
45
-
46
-
[Description("Returns runtime information about this application as a JSON string. Call this when asked about the app's name, architecture, framework, or whether it is running as NativeAOT. Return the JSON result directly to the user without modification.")]
47
47
[UnconditionalSuppressMessage("SingleFile","IL3000",Justification="Assembly.Location returning empty is the intentional AOT detection mechanism.")]
0 commit comments