public override void DoAction(bool onRemote, bool isFromMe) { // Local echo of my action: Return without doing anything if (onRemote && isFromMe) return; SenseNetResourceManager.ResetPrivate(); }
public override STT.Task DoActionAsync(bool onRemote, bool isFromMe, CancellationToken cancellationToken) { // Local echo of my action: Return without doing anything if (onRemote && isFromMe) { return(STT.Task.CompletedTask); } SenseNetResourceManager.ResetPrivate(); return(STT.Task.CompletedTask); }