BotSharp/src/Infrastructure/BotSharp.Abstraction/SideCar/Models/SideCarOptions.cs
2025-07-14 17:31:03 -05:00

22 lines
489 B
C#

namespace BotSharp.Abstraction.SideCar.Models;
public class SideCarOptions
{
public bool IsInheritStates { get; set; }
public IEnumerable<string>? InheritStateKeys { get; set; }
public static SideCarOptions Empty()
{
return new();
}
public static SideCarOptions InheritStates(IEnumerable<string>? targetStates = null)
{
return new()
{
IsInheritStates = true,
InheritStateKeys = targetStates
};
}
}