Table of Contents

Max Method

Definition

Namespace
Cuemon
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/Extensions/IntegerDecoratorExtensions.cs

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.