private void Dispose(bool dispose) { if (disposed) { return; } try { if (dispose) { UnhookNotification(); tracker = null; target = default(TModel); } } finally { disposed = true; } }
/// <summary> /// Инициализирует новый экземпляр класса <see cref="T:System.Object"/>. /// </summary> public DependencySubscription(DependencyTracker <TModel> tracker) { this.tracker = tracker; }