Hello, I was wondering if this actually worked ?
private void RegisterKeyChanged(T item) {
item.OnKeyChanged += (o, k) => ChangeItemKey((T)o, k);
}
private void UnRegisterKeyChanged(T item) {
item.OnKeyChanged -= (o, k) => ChangeItemKey((T)o, k);
}
how does the compiler know that the event handlers are the same ? Is this even recommended ?
Thanks, Raul