mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 13:59:48 +00:00
25 lines
955 B
C#
25 lines
955 B
C#
|
namespace AIStudio.Tools.PluginSystem;
|
||
|
|
||
|
public static class PluginTargetGroupExtensions
|
||
|
{
|
||
|
public static string Name(this PluginTargetGroup group) => group switch
|
||
|
{
|
||
|
PluginTargetGroup.NONE => "No target group",
|
||
|
|
||
|
PluginTargetGroup.EVERYONE => "Everyone",
|
||
|
PluginTargetGroup.CHILDREN => "Children",
|
||
|
PluginTargetGroup.TEENAGERS => "Teenagers",
|
||
|
PluginTargetGroup.STUDENTS => "Students",
|
||
|
PluginTargetGroup.ADULTS => "Adults",
|
||
|
|
||
|
PluginTargetGroup.INDUSTRIAL_WORKERS => "Industrial workers",
|
||
|
PluginTargetGroup.OFFICE_WORKERS => "Office workers",
|
||
|
PluginTargetGroup.BUSINESS_PROFESSIONALS => "Business professionals",
|
||
|
PluginTargetGroup.SOFTWARE_DEVELOPERS => "Software developers",
|
||
|
PluginTargetGroup.SCIENTISTS => "Scientists",
|
||
|
PluginTargetGroup.TEACHERS => "Teachers",
|
||
|
PluginTargetGroup.ARTISTS => "Artists",
|
||
|
|
||
|
_ => "Unknown target group",
|
||
|
};
|
||
|
}
|