[]
        
(Showing Draft Content)

C1.WPF.Core.Range-1.Substract

Substract Method

Substract(Range<T>, Func<T, T>, Func<T, T>)

Returns the result of subtracting a range to the current one. This could lead to a split range in case the one that is being subtracted is contained in the current one.

Declaration
public IEnumerable<Range<T>> Substract(Range<T> value, Func<T, T> incrementor, Func<T, T> decrementor)
Parameters
Type Name Description
Range<T> value
Func<T, T> incrementor
Func<T, T> decrementor
Returns
Type Description
IEnumerable<Range<T>>