public override void DoAction(bool onRemote, bool isFromMe) { // Local echo of my action: Return without doing anything if (onRemote && isFromMe) return; SenseNetResourceManager.ResetPrivate(); }
protected override void OnModified(object sender, NodeEventArgs e) { base.OnModified(sender, e); if (e.ChangedData.Any(cd => cd.Name == "Binary")) { SenseNetResourceManager.Reset(); } }
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); }
public bool ParseResourceKey(string source, out string className, out string name) { return SenseNetResourceManager.ParseResourceKey(source, out className, out name); }
protected override void OnCreated(object sender, NodeEventArgs e) { base.OnCreated(sender, e); SenseNetResourceManager.Reset(); }
public override void Save(SavingMode mode) { base.Save(mode); SenseNetResourceManager.Reset(); }
public override void Save() { base.Save(); SenseNetResourceManager.Reset(); }