Summary
Replaces the specified item.
- Namespace
- DynamicData
- Containing Type
- ListEx
Syntax
public static void Replace<T>(this IList<T> source, T original, T replaceWith)
Type Parameters
Name | Description |
---|---|
T | The type of the item. |
Parameters
Name | Type | Description |
---|---|---|
source | IList |
The source. |
original | T | The original. |
replaceWith | T | The value to replace with. |
Return Value
Type | Description |
---|---|
void |