Table of Contents

Class IntegerDecoratorExtensions

Namespace
Cuemon
Assembly
Cuemon.Core.dll

Extension methods for the short, int and long structs hidden behind the IDecorator<T> interface.

public static class IntegerDecoratorExtensions
Inheritance
IntegerDecoratorExtensions

Methods

Max(IDecorator<int>, int)

Returns the larger of two 32-bit signed integers.

public static int Max(this IDecorator<int> decorator, int minimum)

Parameters

decorator IDecorator<int>

The IDecorator<T> to extend.

minimum int

The second of two 32-bit signed integers to compare.

Returns

int

Parameter the enclosed int of the specified decorator or minimum, whichever is larger.

See Also