public void Remove(WorkspaceEntry entry) { _entries.Remove(entry); Destroy(entry.Base.gameObject); OnCountChanged?.Invoke(); OnEntryRemoved?.Invoke(entry); }
public void Remove(Entry entry) { _entries.Remove(entry); OnCountChanged?.Invoke(); OnEntryRemoved?.Invoke(entry); entry.OnVisableChanged -= invokeOnVisableCountChanged; invokeOnVisableCountChanged(); }
protected override void EntryRemoved(bool evicted, Java.Lang.Object key, Java.Lang.Object oldValue, Java.Lang.Object newValue) { base.EntryRemoved(evicted, key, oldValue, newValue); OnEntryRemoved?.Invoke(this, new EntryRemovedEventArgs <Java.Lang.Object>(key.ToString(), oldValue, evicted)); }