C# 클래스 Gringotts.Domain.Percentage

파일 보기 프로젝트 열기: bagheera/Gringotts 1 사용 예제들

공개 메소드들

메소드 설명
Apply ( Amount amount ) : Amount
ApplyRemaining ( Amount amount ) : Amount
Equals ( Percentage other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
Percentage ( float ratio ) : System
operator ( ) : bool

비공개 메소드들

메소드 설명
IsValid ( float ratio ) : bool

메소드 상세

Apply() 공개 메소드

public Apply ( Amount amount ) : Amount
amount Amount
리턴 Amount

ApplyRemaining() 공개 메소드

public ApplyRemaining ( Amount amount ) : Amount
amount Amount
리턴 Amount

Equals() 공개 메소드

public Equals ( Percentage other ) : bool
other Percentage
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

Percentage() 공개 메소드

public Percentage ( float ratio ) : System
ratio float
리턴 System

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool