示例#1
0
            public override void DoAction(bool onRemote, bool isFromMe)
            {
                if (onRemote && isFromMe)
                {
                    return;
                }
                var instance = (TreeCache <Q>)NodeObserver.GetInstanceByGenericBaseType(typeof(TreeCache <Q>));

                instance.InvalidatePrivate();
            }
示例#2
0
            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);
            }