Show / Hide Table of Contents

Class IntegerDecoratorExtensions

Extension methods for the Int16, Int32 and Int64 structs tailored to adhere the decorator pattern.

Inheritance
Object
IntegerDecoratorExtensions
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public static class IntegerDecoratorExtensions

Methods

| Improve this Doc View Source

Max(IDecorator<Int32>, Int32)

Returns the larger of two 32-bit signed integers.

Declaration
public static int Max(this IDecorator<int> decorator, int minimum)
Parameters
Type Name Description
IDecorator<Int32> decorator

The IDecorator<T> to extend.

Int32 minimum

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

Returns
Type Description
Int32

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

See Also

IDecorator<T>
Decorator<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright 2008-2022 Geekle. All rights reserved. Code with passion and love; deploy with confidence. 👨‍💻️🔥❤️🚀😎
Generated by DocFX