2023-05-16 08:03:55 +00:00
|
|
|
using Elsa.Environments.Models;
|
2023-05-16 17:09:09 +00:00
|
|
|
using JetBrains.Annotations;
|
2023-05-16 08:03:55 +00:00
|
|
|
|
|
|
|
|
namespace Elsa.Environments.Options;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// EnvironmentsOptions for providing environments.
|
|
|
|
|
/// </summary>
|
2023-05-16 17:09:09 +00:00
|
|
|
[PublicAPI]
|
2023-05-16 08:03:55 +00:00
|
|
|
public class EnvironmentsOptions
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a list of environments.
|
|
|
|
|
/// </summary>
|
2023-05-16 17:09:09 +00:00
|
|
|
public ICollection<ServerEnvironment> Environments { get; set; } = new List<ServerEnvironment>();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The name of the default environment.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? DefaultEnvironmentName { get; set; }
|
2023-05-16 08:03:55 +00:00
|
|
|
}
|