github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/read-file-func-pp/dotnet/read-file-func.cs (about) 1 using System.Collections.Generic; 2 using System.IO; 3 using Pulumi; 4 5 return await Deployment.RunAsync(() => 6 { 7 var key = File.ReadAllText("key.pub"); 8 9 return new Dictionary<string, object?> 10 { 11 ["result"] = key, 12 }; 13 }); 14