mirror of
https://github.com/microsoft/autogen.git
synced 2025-07-08 17:43:40 +00:00
15 lines
339 B
C#
15 lines
339 B
C#
![]() |
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|||
|
// FilescopeNamespaceFunctionExample.cs
|
|||
|
|
|||
|
using AutoGen.Core;
|
|||
|
|
|||
|
namespace AutoGen.SourceGenerator.Tests;
|
|||
|
public partial class FilescopeNamespaceFunctionExample
|
|||
|
{
|
|||
|
[Function]
|
|||
|
public Task<string> Add(int a, int b)
|
|||
|
{
|
|||
|
return Task.FromResult($"{a + b}");
|
|||
|
}
|
|||
|
}
|