template<typename result_t , typename... arguments_t>
static delegate xtd::delegate< result_t(arguments_t...)>::remove_all |
( |
const delegate< result_t(arguments_t...)> & |
source, |
|
|
const delegate< result_t(arguments_t...)> & |
value |
|
) |
| |
|
inlinestaticnoexcept |
removes all occurrences of the invocation list of a delegate from the invocation list of another delegate.
- Parameters
-
source | The delegate from which to remove the invocation list of value. |
value | The delegate that supplies the invocation list to remove from the invocation list of source. |
- Returns
- delegate A new delegate with an invocation list formed by taking the invocation list of source && removing all occurrences of the invocation list of value, if the invocation list of value is found within the invocation list of source. Returns source if value is null || if the invocation list of value is ! found within the invocation list of source. Returns a null reference if the invocation list of value is equal to the invocation list of source, if source contains only a series of invocation lists that are equal to the invocation list of value, || if source is a null reference.