Files
microsoft--semantic-kernel/dotnet/samples/Concepts/Functions/MethodFunctions.cs
T
wehub-resource-sync b957a53def
CodeQL / Analyze (csharp) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 13:21:23 +08:00

25 lines
533 B
C#

// Copyright (c) Microsoft. All rights reserved.
using Microsoft.SemanticKernel.Plugins.Core;
namespace Functions;
public class MethodFunctions(ITestOutputHelper output) : BaseTest(output)
{
[Fact]
public Task RunAsync()
{
Console.WriteLine("======== Functions ========");
// Load native plugin
var text = new TextPlugin();
// Use function without kernel
var result = text.Uppercase("ciao!");
Console.WriteLine(result);
return Task.CompletedTask;
}
}