mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-02-05 18:49:06 +00:00
13 lines
313 B
C#
13 lines
313 B
C#
using AIStudio.Settings;
|
|
|
|
namespace AIStudio.Tools;
|
|
|
|
public static class ProfileExtensions
|
|
{
|
|
public static IEnumerable<Profile> GetAllProfiles(this IEnumerable<Profile> profiles)
|
|
{
|
|
yield return Profile.NO_PROFILE;
|
|
foreach (var profile in profiles)
|
|
yield return profile;
|
|
}
|
|
} |