IsPublic auf AiPromptbausteinPrompt + Routine
This commit is contained in:
@@ -37,7 +37,7 @@ namespace BS.Shared.Extensions
|
||||
|
||||
public static void RemoveRange<T>(this ICollection<T> pList, Predicate<T> pMatch)
|
||||
{
|
||||
var lToDelete = pList.Where(t => pMatch(t)).ToHashSet();
|
||||
var lToDelete = pList.Where(t => pMatch(t)).ToHashSetEx();
|
||||
pList.RemoveRange(lToDelete);
|
||||
}
|
||||
|
||||
|
||||
@@ -152,7 +152,7 @@ namespace BS.Shared.Extensions
|
||||
return result.ToString();
|
||||
}
|
||||
|
||||
public static HashSet<T> ToHashSet<T>(this IEnumerable<T> pList)
|
||||
public static HashSet<T> ToHashSetEx<T>(this IEnumerable<T> pList)
|
||||
{
|
||||
return new HashSet<T>(pList);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user