ActiveListExtensions.ValueModifiers.ActiveCount.OnRemoved C# (CSharp) Method

OnRemoved() protected method

protected OnRemoved ( int index, value ) : void
index int
return void
		protected override void OnRemoved(int index, TSource value)
		{
			var currentValue = _values[index];
			_values.RemoveAt(index);
			if (currentValue)
				--Value;
		}