예제 #1
0
 /// <summary>
 /// Sets the config key-value pair on the Stack in the associated Workspace.
 /// </summary>
 /// <param name="key">The key to set.</param>
 /// <param name="value">The config value to set.</param>
 /// <param name="cancellationToken">A cancellation token.</param>
 public Task SetConfigAsync(string key, ConfigValue value, CancellationToken cancellationToken = default)
 => this.Workspace.SetConfigAsync(this.Name, key, value, cancellationToken);
예제 #2
0
 /// <summary>
 /// Sets the specified key-value pair in the provided stack's config.
 /// </summary>
 /// <param name="stackName">The name of the stack to operate on.</param>
 /// <param name="key">The config key to set.</param>
 /// <param name="value">The config value to set.</param>
 /// <param name="cancellationToken">A cancellation token.</param>
 public abstract Task SetConfigValueAsync(string stackName, string key, ConfigValue value, CancellationToken cancellationToken = default);