/// <inheritdoc /> /// <summary> /// </summary> public override void Destroy() { if (DisposeBindableOnDestroy) { Bindable.Dispose(); } base.Destroy(); }
public void Dispose() { OnDispose(); foreach (var d in ReferencedDisposables) { try { d.Dispose(); } catch (Exception ex) { Console.WriteLine(ex); } } ReferencedDisposables.Clear(); storage.Dispose(); Ctx.Dispose(); }