2024-09-08 21:01:51 +02:00
|
|
|
using AIStudio.Settings;
|
|
|
|
|
|
|
|
|
|
namespace AIStudio.Tools;
|
|
|
|
|
|
|
|
|
|
public static class ProfileExtensions
|
|
|
|
|
{
|
2026-11-04 10:46:18 +01:00
|
|
|
extension(IEnumerable<Profile> profiles)
|
2024-09-08 21:01:51 +02:00
|
|
|
{
|
2026-11-04 10:46:18 +01:00
|
|
|
public IEnumerable<Profile> GetAllProfiles()
|
|
|
|
|
{
|
|
|
|
|
yield return Profile.NO_PROFILE;
|
|
|
|
|
foreach (var profile in profiles)
|
|
|
|
|
yield return profile;
|
|
|
|
|
}
|
2024-09-08 21:01:51 +02:00
|
|
|
}
|
|
|
|
|
}
|