public override void DoAction(bool onRemote, bool isFromMe) { if (onRemote && isFromMe) { return; } var instance = (TreeCache <Q>)NodeObserver.GetInstanceByGenericBaseType(typeof(TreeCache <Q>)); instance.InvalidatePrivate(); }
public override STT.Task DoActionAsync(bool onRemote, bool isFromMe, CancellationToken cancellationToken) { if (onRemote && isFromMe) { return(STT.Task.CompletedTask); } var instance = (TreeCache <Q>)NodeObserver.GetInstanceByGenericBaseType(typeof(TreeCache <Q>)); instance.InvalidatePrivate(); return(STT.Task.CompletedTask); }