Table of Contents

Class IntegerDecoratorExtensions

Namespace
Cuemon
Assembly
Cuemon.Core.dll

Extension methods for the Int16, Int32 and Int64 structs hidden behind the IDecorator<T> interface.

public static class IntegerDecoratorExtensions
Inheritance
IntegerDecoratorExtensions

Methods

Max(IDecorator<Int32>, Int32)

Returns the larger of two 32-bit signed integers.

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

Parameters

decorator IDecorator<Int32>

The IDecorator<T> to extend.

minimum Int32

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

Returns

Int32

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

See Also