Skip to content

Commit

Permalink
Regenerating .NET SDK based on updated modules
Browse files Browse the repository at this point in the history
  • Loading branch information
pulumi-bot committed Dec 12, 2024
1 parent 6202c1c commit 213cb24
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sdk/dotnet/Utilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ static class Utilities
return dst;
}

public static global::Pulumi.InvokeOutputOptions WithDefaults(this global::Pulumi.InvokeOutputOptions? src)
{
var dst = src ?? new global::Pulumi.InvokeOutputOptions{};
dst.Version = src?.Version ?? Version;
return dst;
}

private readonly static string version;
public static string Version => version;

Expand Down

0 comments on commit 213cb24

Please sign in to comment.