pulumi/sdk/dotnet/Pulumi/Deployment/InvokeOptions.cs
Justin Van Patten a83a5d9605
.NET: Treat warnings as errors (#3650)
Fix the following warning and turn on "treat warnings as errors" for our .NET projects.

```
Deployment/InvokeOptions.cs(6,60): warning CS1574: XML comment has cref attribute 'InvokeAsync{T}(string,
```
2019-12-12 17:13:26 +00:00

30 lines
1,004 B
C#

// Copyright 2016-2019, Pulumi Corporation
namespace Pulumi
{
/// <summary>
/// Options to help control the behavior of <see cref="IDeployment.InvokeAsync{T}(string,
/// InvokeArgs, InvokeOptions)"/>.
/// </summary>
public class InvokeOptions
{
/// <summary>
/// An optional parent to use for default options for this invoke (e.g. the default provider
/// to use).
/// </summary>
public Resource? Parent { get; set; }
/// <summary>
/// An optional provider to use for this invocation. If no provider is supplied, the default
/// provider for the invoked function's package will be used.
/// </summary>
public ProviderResource? Provider { get; set; }
/// <summary>
/// An optional version, corresponding to the version of the provider plugin that should be
/// used when performing this invoke.
/// </summary>
public string? Version { get; set; }
}
}