github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/third-party-package-pp/dotnet/third-party-package.cs (about)

     1  using System.Collections.Generic;
     2  using Pulumi;
     3  using Other = ThirdParty.Other;
     4  
     5  return await Deployment.RunAsync(() => 
     6  {
     7      var Other = new Other.Thing("Other", new()
     8      {
     9          Idea = "Support Third Party",
    10      });
    11  
    12      var Question = new Other.Module.Object("Question", new()
    13      {
    14          Answer = 42,
    15      });
    16  
    17      var Question2 = new Other.Module.Sub.Object("Question2", new()
    18      {
    19          Answer = 24,
    20      });
    21  
    22      var Provider = new Other.Provider("Provider", new()
    23      {
    24          ObjectProp = 
    25          {
    26              { "prop1", "foo" },
    27              { "prop2", "bar" },
    28              { "prop3", "fizz" },
    29          },
    30      });
    31  
    32  });
    33