protected override void uninitialize() { _getValueExpressionWatcher.Dispose(); EventUnsubscriber.QueueSubscriptions(_getValueExpressionWatcher._propertyChangedEventSubscriptions, _getValueExpressionWatcher._methodChangedEventSubscriptions); Utils.removeDownstreamConsumedComputing(_getValueExpressionWatcher, this); Utils.uninitializeNestedComputings(_nestedComputings, this); setDefaultValue(); }
protected override void uninitialize() { if (_comparerScalar != null) { _comparerScalar.PropertyChanged -= _comparerScalarPropertyChangedEventHandler; _comparer = null; } if (_sortDirectionScalar != null) _sortDirectionScalar.PropertyChanged -= _sortDirectionScalarPropertyChangedEventHandler; Utils.uninitializeSourceScalar(_sourceScalar, scalarValueChangedHandler, ref _source); Utils.uninitializeNestedComputings(_nestedComputings, this); }
protected override void uninitialize() { Utils.uninitializeSourceScalar(_sourceScalar, scalarValueChangedHandler, ref _source); Utils.uninitializeNestedComputings(_nestedComputings, this); }