pulumi/tests/testdata/codegen/single-or-none-pp/dotnet/single-or-none.cs

16 lines
253 B
C#

using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
return new Dictionary<string, object?>
{
["result"] = Enumerable.Single(new[]
{
1,
}),
};
});