C# 클래스 Nintenlord.Event_assembler.IntegerExtensions

Extensions and helper methods to integers
파일 보기 프로젝트 열기: Diegoisawesome/AwesomeMapEditor-old

공개 메소드들

메소드 설명
Clamp ( this i, int min, int max ) : int
IsInRange ( this i, int min, int max ) : bool
ToBinString ( this i, string postfix ) : string
ToHexString ( this i, string prefix ) : string
ToMod ( this i, int mod ) : int

메소드 상세

Clamp() 공개 정적인 메소드

public static Clamp ( this i, int min, int max ) : int
i this
min int
max int
리턴 int

IsInRange() 공개 정적인 메소드

public static IsInRange ( this i, int min, int max ) : bool
i this
min int
max int
리턴 bool

ToBinString() 공개 정적인 메소드

public static ToBinString ( this i, string postfix ) : string
i this
postfix string
리턴 string

ToHexString() 공개 정적인 메소드

public static ToHexString ( this i, string prefix ) : string
i this
prefix string
리턴 string

ToMod() 공개 정적인 메소드

public static ToMod ( this i, int mod ) : int
i this
mod int
리턴 int