C# 클래스 Source.Extensions.NumericalExtensions

파일 보기 프로젝트 열기: mrange/T4Include

공개 메소드들

메소드 설명
Clamp ( this value, Byte inclusiveMin, Byte inclusiveMax ) : Byte
Clamp ( this value, Char inclusiveMin, Char inclusiveMax ) : Char
Clamp ( this value, System.DateTime inclusiveMin, System.DateTime inclusiveMax ) : System.DateTime
Clamp ( this value, Decimal inclusiveMin, Decimal inclusiveMax ) : Decimal
Clamp ( this value, Double inclusiveMin, Double inclusiveMax ) : Double
Clamp ( this value, Int16 inclusiveMin, Int16 inclusiveMax ) : Int16
Clamp ( this value, Int32 inclusiveMin, Int32 inclusiveMax ) : Int32
Clamp ( this value, System.Int64 inclusiveMin, System.Int64 inclusiveMax ) : System.Int64
Clamp ( this value, SByte inclusiveMin, SByte inclusiveMax ) : SByte
Clamp ( this value, System.Single inclusiveMin, System.Single inclusiveMax ) : System.Single
Clamp ( this value, System.TimeSpan inclusiveMin, System.TimeSpan inclusiveMax ) : System.TimeSpan
Clamp ( this value, UInt16 inclusiveMin, UInt16 inclusiveMax ) : UInt16
Clamp ( this value, UInt32 inclusiveMin, UInt32 inclusiveMax ) : UInt32
Clamp ( this value, System.UInt64 inclusiveMin, System.UInt64 inclusiveMax ) : System.UInt64
IsAllOff ( this value, Byte test ) : bool
IsAllOff ( this value, Char test ) : bool
IsAllOff ( this value, Int16 test ) : bool
IsAllOff ( this value, Int32 test ) : bool
IsAllOff ( this value, System.Int64 test ) : bool
IsAllOff ( this value, SByte test ) : bool
IsAllOff ( this value, UInt16 test ) : bool
IsAllOff ( this value, UInt32 test ) : bool
IsAllOff ( this value, System.UInt64 test ) : bool
IsAllOn ( this value, Byte test ) : bool
IsAllOn ( this value, Char test ) : bool
IsAllOn ( this value, Int16 test ) : bool
IsAllOn ( this value, Int32 test ) : bool
IsAllOn ( this value, System.Int64 test ) : bool
IsAllOn ( this value, SByte test ) : bool
IsAllOn ( this value, UInt16 test ) : bool
IsAllOn ( this value, UInt32 test ) : bool
IsAllOn ( this value, System.UInt64 test ) : bool
IsAnyOff ( this value, Byte test ) : bool
IsAnyOff ( this value, Char test ) : bool
IsAnyOff ( this value, Int16 test ) : bool
IsAnyOff ( this value, Int32 test ) : bool
IsAnyOff ( this value, System.Int64 test ) : bool
IsAnyOff ( this value, SByte test ) : bool
IsAnyOff ( this value, UInt16 test ) : bool
IsAnyOff ( this value, UInt32 test ) : bool
IsAnyOff ( this value, UInt64 test ) : bool
IsAnyOn ( this value, Byte test ) : bool
IsAnyOn ( this value, Char test ) : bool
IsAnyOn ( this value, Int16 test ) : bool
IsAnyOn ( this value, Int32 test ) : bool
IsAnyOn ( this value, Int64 test ) : bool
IsAnyOn ( this value, SByte test ) : bool
IsAnyOn ( this value, UInt16 test ) : bool
IsAnyOn ( this value, UInt32 test ) : bool
IsAnyOn ( this value, UInt64 test ) : bool
IsBetween ( this value, Byte inclusiveMin, Byte inclusiveMax ) : bool
IsBetween ( this value, Char inclusiveMin, Char inclusiveMax ) : bool
IsBetween ( this value, DateTime inclusiveMin, DateTime inclusiveMax ) : bool
IsBetween ( this value, Decimal inclusiveMin, Decimal inclusiveMax ) : bool
IsBetween ( this value, Double inclusiveMin, Double inclusiveMax ) : bool
IsBetween ( this value, Int16 inclusiveMin, Int16 inclusiveMax ) : bool
IsBetween ( this value, Int32 inclusiveMin, Int32 inclusiveMax ) : bool
IsBetween ( this value, Int64 inclusiveMin, Int64 inclusiveMax ) : bool
IsBetween ( this value, SByte inclusiveMin, SByte inclusiveMax ) : bool
IsBetween ( this value, Single inclusiveMin, Single inclusiveMax ) : bool
IsBetween ( this value, TimeSpan inclusiveMin, TimeSpan inclusiveMax ) : bool
IsBetween ( this value, UInt16 inclusiveMin, UInt16 inclusiveMax ) : bool
IsBetween ( this value, UInt32 inclusiveMin, UInt32 inclusiveMax ) : bool
IsBetween ( this value, UInt64 inclusiveMin, UInt64 inclusiveMax ) : bool
Lerp ( this t, Decimal from, Decimal to ) : Decimal
Lerp ( this t, Double from, Double to ) : Double
Lerp ( this t, Single from, Single to ) : Single
Max ( this left, Byte right ) : Byte
Max ( this left, Char right ) : Char
Max ( this left, DateTime right ) : DateTime
Max ( this left, Decimal right ) : Decimal
Max ( this left, Double right ) : Double
Max ( this left, Int16 right ) : Int16
Max ( this left, Int32 right ) : Int32
Max ( this left, Int64 right ) : Int64
Max ( this left, SByte right ) : SByte
Max ( this left, Single right ) : Single
Max ( this left, TimeSpan right ) : TimeSpan
Max ( this left, UInt16 right ) : UInt16
Max ( this left, UInt32 right ) : UInt32
Max ( this left, UInt64 right ) : UInt64
Min ( this left, Byte right ) : Byte
Min ( this left, Char right ) : Char
Min ( this left, DateTime right ) : DateTime
Min ( this left, Decimal right ) : Decimal
Min ( this left, Double right ) : Double
Min ( this left, Int16 right ) : Int16
Min ( this left, Int32 right ) : Int32
Min ( this left, Int64 right ) : Int64
Min ( this left, SByte right ) : SByte
Min ( this left, Single right ) : Single
Min ( this left, TimeSpan right ) : TimeSpan
Min ( this left, UInt16 right ) : UInt16
Min ( this left, UInt32 right ) : UInt32
Min ( this left, UInt64 right ) : UInt64

메소드 상세

Clamp() 공개 정적인 메소드

public static Clamp ( this value, Byte inclusiveMin, Byte inclusiveMax ) : Byte
value this
inclusiveMin Byte
inclusiveMax Byte
리턴 Byte

Clamp() 공개 정적인 메소드

public static Clamp ( this value, Char inclusiveMin, Char inclusiveMax ) : Char
value this
inclusiveMin Char
inclusiveMax Char
리턴 Char

Clamp() 공개 정적인 메소드

public static Clamp ( this value, System.DateTime inclusiveMin, System.DateTime inclusiveMax ) : System.DateTime
value this
inclusiveMin System.DateTime
inclusiveMax System.DateTime
리턴 System.DateTime

Clamp() 공개 정적인 메소드

public static Clamp ( this value, Decimal inclusiveMin, Decimal inclusiveMax ) : Decimal
value this
inclusiveMin Decimal
inclusiveMax Decimal
리턴 Decimal

Clamp() 공개 정적인 메소드

public static Clamp ( this value, Double inclusiveMin, Double inclusiveMax ) : Double
value this
inclusiveMin Double
inclusiveMax Double
리턴 Double

Clamp() 공개 정적인 메소드

public static Clamp ( this value, Int16 inclusiveMin, Int16 inclusiveMax ) : Int16
value this
inclusiveMin System.Int16
inclusiveMax System.Int16
리턴 System.Int16

Clamp() 공개 정적인 메소드

public static Clamp ( this value, Int32 inclusiveMin, Int32 inclusiveMax ) : Int32
value this
inclusiveMin System.Int32
inclusiveMax System.Int32
리턴 System.Int32

Clamp() 공개 정적인 메소드

public static Clamp ( this value, System.Int64 inclusiveMin, System.Int64 inclusiveMax ) : System.Int64
value this
inclusiveMin System.Int64
inclusiveMax System.Int64
리턴 System.Int64

Clamp() 공개 정적인 메소드

public static Clamp ( this value, SByte inclusiveMin, SByte inclusiveMax ) : SByte
value this
inclusiveMin SByte
inclusiveMax SByte
리턴 SByte

Clamp() 공개 정적인 메소드

public static Clamp ( this value, System.Single inclusiveMin, System.Single inclusiveMax ) : System.Single
value this
inclusiveMin System.Single
inclusiveMax System.Single
리턴 System.Single

Clamp() 공개 정적인 메소드

public static Clamp ( this value, System.TimeSpan inclusiveMin, System.TimeSpan inclusiveMax ) : System.TimeSpan
value this
inclusiveMin System.TimeSpan
inclusiveMax System.TimeSpan
리턴 System.TimeSpan

Clamp() 공개 정적인 메소드

public static Clamp ( this value, UInt16 inclusiveMin, UInt16 inclusiveMax ) : UInt16
value this
inclusiveMin System.UInt16
inclusiveMax System.UInt16
리턴 System.UInt16

Clamp() 공개 정적인 메소드

public static Clamp ( this value, UInt32 inclusiveMin, UInt32 inclusiveMax ) : UInt32
value this
inclusiveMin System.UInt32
inclusiveMax System.UInt32
리턴 System.UInt32

Clamp() 공개 정적인 메소드

public static Clamp ( this value, System.UInt64 inclusiveMin, System.UInt64 inclusiveMax ) : System.UInt64
value this
inclusiveMin System.UInt64
inclusiveMax System.UInt64
리턴 System.UInt64

IsAllOff() 공개 정적인 메소드

public static IsAllOff ( this value, Byte test ) : bool
value this
test Byte
리턴 bool

IsAllOff() 공개 정적인 메소드

public static IsAllOff ( this value, Char test ) : bool
value this
test Char
리턴 bool

IsAllOff() 공개 정적인 메소드

public static IsAllOff ( this value, Int16 test ) : bool
value this
test System.Int16
리턴 bool

IsAllOff() 공개 정적인 메소드

public static IsAllOff ( this value, Int32 test ) : bool
value this
test System.Int32
리턴 bool

IsAllOff() 공개 정적인 메소드

public static IsAllOff ( this value, System.Int64 test ) : bool
value this
test System.Int64
리턴 bool

IsAllOff() 공개 정적인 메소드

public static IsAllOff ( this value, SByte test ) : bool
value this
test SByte
리턴 bool

IsAllOff() 공개 정적인 메소드

public static IsAllOff ( this value, UInt16 test ) : bool
value this
test System.UInt16
리턴 bool

IsAllOff() 공개 정적인 메소드

public static IsAllOff ( this value, UInt32 test ) : bool
value this
test System.UInt32
리턴 bool

IsAllOff() 공개 정적인 메소드

public static IsAllOff ( this value, System.UInt64 test ) : bool
value this
test System.UInt64
리턴 bool

IsAllOn() 공개 정적인 메소드

public static IsAllOn ( this value, Byte test ) : bool
value this
test Byte
리턴 bool

IsAllOn() 공개 정적인 메소드

public static IsAllOn ( this value, Char test ) : bool
value this
test Char
리턴 bool

IsAllOn() 공개 정적인 메소드

public static IsAllOn ( this value, Int16 test ) : bool
value this
test System.Int16
리턴 bool

IsAllOn() 공개 정적인 메소드

public static IsAllOn ( this value, Int32 test ) : bool
value this
test System.Int32
리턴 bool

IsAllOn() 공개 정적인 메소드

public static IsAllOn ( this value, System.Int64 test ) : bool
value this
test System.Int64
리턴 bool

IsAllOn() 공개 정적인 메소드

public static IsAllOn ( this value, SByte test ) : bool
value this
test SByte
리턴 bool

IsAllOn() 공개 정적인 메소드

public static IsAllOn ( this value, UInt16 test ) : bool
value this
test System.UInt16
리턴 bool

IsAllOn() 공개 정적인 메소드

public static IsAllOn ( this value, UInt32 test ) : bool
value this
test System.UInt32
리턴 bool

IsAllOn() 공개 정적인 메소드

public static IsAllOn ( this value, System.UInt64 test ) : bool
value this
test System.UInt64
리턴 bool

IsAnyOff() 공개 정적인 메소드

public static IsAnyOff ( this value, Byte test ) : bool
value this
test Byte
리턴 bool

IsAnyOff() 공개 정적인 메소드

public static IsAnyOff ( this value, Char test ) : bool
value this
test Char
리턴 bool

IsAnyOff() 공개 정적인 메소드

public static IsAnyOff ( this value, Int16 test ) : bool
value this
test System.Int16
리턴 bool

IsAnyOff() 공개 정적인 메소드

public static IsAnyOff ( this value, Int32 test ) : bool
value this
test System.Int32
리턴 bool

IsAnyOff() 공개 정적인 메소드

public static IsAnyOff ( this value, System.Int64 test ) : bool
value this
test System.Int64
리턴 bool

IsAnyOff() 공개 정적인 메소드

public static IsAnyOff ( this value, SByte test ) : bool
value this
test SByte
리턴 bool

IsAnyOff() 공개 정적인 메소드

public static IsAnyOff ( this value, UInt16 test ) : bool
value this
test System.UInt16
리턴 bool

IsAnyOff() 공개 정적인 메소드

public static IsAnyOff ( this value, UInt32 test ) : bool
value this
test System.UInt32
리턴 bool

IsAnyOff() 공개 정적인 메소드

public static IsAnyOff ( this value, UInt64 test ) : bool
value this
test UInt64
리턴 bool

IsAnyOn() 공개 정적인 메소드

public static IsAnyOn ( this value, Byte test ) : bool
value this
test Byte
리턴 bool

IsAnyOn() 공개 정적인 메소드

public static IsAnyOn ( this value, Char test ) : bool
value this
test Char
리턴 bool

IsAnyOn() 공개 정적인 메소드

public static IsAnyOn ( this value, Int16 test ) : bool
value this
test Int16
리턴 bool

IsAnyOn() 공개 정적인 메소드

public static IsAnyOn ( this value, Int32 test ) : bool
value this
test Int32
리턴 bool

IsAnyOn() 공개 정적인 메소드

public static IsAnyOn ( this value, Int64 test ) : bool
value this
test Int64
리턴 bool

IsAnyOn() 공개 정적인 메소드

public static IsAnyOn ( this value, SByte test ) : bool
value this
test SByte
리턴 bool

IsAnyOn() 공개 정적인 메소드

public static IsAnyOn ( this value, UInt16 test ) : bool
value this
test UInt16
리턴 bool

IsAnyOn() 공개 정적인 메소드

public static IsAnyOn ( this value, UInt32 test ) : bool
value this
test UInt32
리턴 bool

IsAnyOn() 공개 정적인 메소드

public static IsAnyOn ( this value, UInt64 test ) : bool
value this
test UInt64
리턴 bool

IsBetween() 공개 정적인 메소드

public static IsBetween ( this value, Byte inclusiveMin, Byte inclusiveMax ) : bool
value this
inclusiveMin Byte
inclusiveMax Byte
리턴 bool

IsBetween() 공개 정적인 메소드

public static IsBetween ( this value, Char inclusiveMin, Char inclusiveMax ) : bool
value this
inclusiveMin Char
inclusiveMax Char
리턴 bool

IsBetween() 공개 정적인 메소드

public static IsBetween ( this value, DateTime inclusiveMin, DateTime inclusiveMax ) : bool
value this
inclusiveMin DateTime
inclusiveMax DateTime
리턴 bool

IsBetween() 공개 정적인 메소드

public static IsBetween ( this value, Decimal inclusiveMin, Decimal inclusiveMax ) : bool
value this
inclusiveMin Decimal
inclusiveMax Decimal
리턴 bool

IsBetween() 공개 정적인 메소드

public static IsBetween ( this value, Double inclusiveMin, Double inclusiveMax ) : bool
value this
inclusiveMin Double
inclusiveMax Double
리턴 bool

IsBetween() 공개 정적인 메소드

public static IsBetween ( this value, Int16 inclusiveMin, Int16 inclusiveMax ) : bool
value this
inclusiveMin Int16
inclusiveMax Int16
리턴 bool

IsBetween() 공개 정적인 메소드

public static IsBetween ( this value, Int32 inclusiveMin, Int32 inclusiveMax ) : bool
value this
inclusiveMin Int32
inclusiveMax Int32
리턴 bool

IsBetween() 공개 정적인 메소드

public static IsBetween ( this value, Int64 inclusiveMin, Int64 inclusiveMax ) : bool
value this
inclusiveMin Int64
inclusiveMax Int64
리턴 bool

IsBetween() 공개 정적인 메소드

public static IsBetween ( this value, SByte inclusiveMin, SByte inclusiveMax ) : bool
value this
inclusiveMin SByte
inclusiveMax SByte
리턴 bool

IsBetween() 공개 정적인 메소드

public static IsBetween ( this value, Single inclusiveMin, Single inclusiveMax ) : bool
value this
inclusiveMin Single
inclusiveMax Single
리턴 bool

IsBetween() 공개 정적인 메소드

public static IsBetween ( this value, TimeSpan inclusiveMin, TimeSpan inclusiveMax ) : bool
value this
inclusiveMin TimeSpan
inclusiveMax TimeSpan
리턴 bool

IsBetween() 공개 정적인 메소드

public static IsBetween ( this value, UInt16 inclusiveMin, UInt16 inclusiveMax ) : bool
value this
inclusiveMin UInt16
inclusiveMax UInt16
리턴 bool

IsBetween() 공개 정적인 메소드

public static IsBetween ( this value, UInt32 inclusiveMin, UInt32 inclusiveMax ) : bool
value this
inclusiveMin UInt32
inclusiveMax UInt32
리턴 bool

IsBetween() 공개 정적인 메소드

public static IsBetween ( this value, UInt64 inclusiveMin, UInt64 inclusiveMax ) : bool
value this
inclusiveMin UInt64
inclusiveMax UInt64
리턴 bool

Lerp() 공개 정적인 메소드

public static Lerp ( this t, Decimal from, Decimal to ) : Decimal
t this
from Decimal
to Decimal
리턴 Decimal

Lerp() 공개 정적인 메소드

public static Lerp ( this t, Double from, Double to ) : Double
t this
from Double
to Double
리턴 Double

Lerp() 공개 정적인 메소드

public static Lerp ( this t, Single from, Single to ) : Single
t this
from Single
to Single
리턴 Single

Max() 공개 정적인 메소드

public static Max ( this left, Byte right ) : Byte
left this
right Byte
리턴 Byte

Max() 공개 정적인 메소드

public static Max ( this left, Char right ) : Char
left this
right Char
리턴 Char

Max() 공개 정적인 메소드

public static Max ( this left, DateTime right ) : DateTime
left this
right DateTime
리턴 DateTime

Max() 공개 정적인 메소드

public static Max ( this left, Decimal right ) : Decimal
left this
right Decimal
리턴 Decimal

Max() 공개 정적인 메소드

public static Max ( this left, Double right ) : Double
left this
right Double
리턴 Double

Max() 공개 정적인 메소드

public static Max ( this left, Int16 right ) : Int16
left this
right Int16
리턴 Int16

Max() 공개 정적인 메소드

public static Max ( this left, Int32 right ) : Int32
left this
right Int32
리턴 Int32

Max() 공개 정적인 메소드

public static Max ( this left, Int64 right ) : Int64
left this
right Int64
리턴 Int64

Max() 공개 정적인 메소드

public static Max ( this left, SByte right ) : SByte
left this
right SByte
리턴 SByte

Max() 공개 정적인 메소드

public static Max ( this left, Single right ) : Single
left this
right Single
리턴 Single

Max() 공개 정적인 메소드

public static Max ( this left, TimeSpan right ) : TimeSpan
left this
right TimeSpan
리턴 TimeSpan

Max() 공개 정적인 메소드

public static Max ( this left, UInt16 right ) : UInt16
left this
right UInt16
리턴 UInt16

Max() 공개 정적인 메소드

public static Max ( this left, UInt32 right ) : UInt32
left this
right UInt32
리턴 UInt32

Max() 공개 정적인 메소드

public static Max ( this left, UInt64 right ) : UInt64
left this
right UInt64
리턴 UInt64

Min() 공개 정적인 메소드

public static Min ( this left, Byte right ) : Byte
left this
right Byte
리턴 Byte

Min() 공개 정적인 메소드

public static Min ( this left, Char right ) : Char
left this
right Char
리턴 Char

Min() 공개 정적인 메소드

public static Min ( this left, DateTime right ) : DateTime
left this
right DateTime
리턴 DateTime

Min() 공개 정적인 메소드

public static Min ( this left, Decimal right ) : Decimal
left this
right Decimal
리턴 Decimal

Min() 공개 정적인 메소드

public static Min ( this left, Double right ) : Double
left this
right Double
리턴 Double

Min() 공개 정적인 메소드

public static Min ( this left, Int16 right ) : Int16
left this
right Int16
리턴 Int16

Min() 공개 정적인 메소드

public static Min ( this left, Int32 right ) : Int32
left this
right Int32
리턴 Int32

Min() 공개 정적인 메소드

public static Min ( this left, Int64 right ) : Int64
left this
right Int64
리턴 Int64

Min() 공개 정적인 메소드

public static Min ( this left, SByte right ) : SByte
left this
right SByte
리턴 SByte

Min() 공개 정적인 메소드

public static Min ( this left, Single right ) : Single
left this
right Single
리턴 Single

Min() 공개 정적인 메소드

public static Min ( this left, TimeSpan right ) : TimeSpan
left this
right TimeSpan
리턴 TimeSpan

Min() 공개 정적인 메소드

public static Min ( this left, UInt16 right ) : UInt16
left this
right UInt16
리턴 UInt16

Min() 공개 정적인 메소드

public static Min ( this left, UInt32 right ) : UInt32
left this
right UInt32
리턴 UInt32

Min() 공개 정적인 메소드

public static Min ( this left, UInt64 right ) : UInt64
left this
right UInt64
리턴 UInt64