Table of Contents

Class IntegerDecoratorExtensions

Namespace
Cuemon
Assembly
Cuemon.Core.dll

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

public static class IntegerDecoratorExtensions
Inheritance
Object
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 System.Int32 of the specified decorator or minimum, whichever is larger.

See Also