mirror of
				https://github.com/MindWorkAI/AI-Studio.git
				synced 2025-11-04 06:00:21 +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;
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |