Class Utilities
Various Kuracord-related utilities.
Inherited Members
Namespace: KSharpPlus
Assembly: KSharpPlus.dll
Syntax
public static class Utilities
Methods
| Improve this Doc View SourceReplace<T>(List<T>, Predicate<T>, T)
Declaration
public static List<T> Replace<T>(this List<T> source, Predicate<T> predicate, T newValue)
Parameters
Type | Name | Description |
---|---|---|
List<T> | source | |
Predicate<T> | predicate | |
T | newValue |
Returns
Type | Description |
---|---|
List<T> |
Type Parameters
Name | Description |
---|---|
T |