C# 클래스 GW2PAO.Modules.Commerce.ViewModels.TPCalculatorViewModel

상속: BindableBase
파일 보기 프로젝트 열기: SamHurne/gw2pao

공개 메소드들

메소드 설명
TPCalculatorViewModel ( ) : GW2PAO.Data

Default constructor

비공개 메소드들

메소드 설명
CalculateAll ( ) : void

Recalculates all output values

CalculateBreakEvenValues ( ) : void

Calculates the break-even buy and sell prices

CalculateCost ( ) : void

Calculates cost

CalculateListingFee ( ) : void

Calculates the listing fee (5% of revenue)

CalculateProfit ( ) : void

Calculates profit (revenue - cost - fees)

CalculateReturnOnInvestment ( ) : void

Calculates return on investment (profit / investment cost)

CalculateRevenue ( ) : void

Calculates revenue

CalculateSaleFee ( ) : void

Calculates sale fee (10% of revenue)

ResetValues ( ) : void

Resets all input values to 0

메소드 상세

TPCalculatorViewModel() 공개 메소드

Default constructor
public TPCalculatorViewModel ( ) : GW2PAO.Data
리턴 GW2PAO.Data