Class ModelPrice
[Serializable]
public abstract class ModelPrice
- Inheritance
-
objectModelPrice
- Derived
Constructors
ModelPrice()
public ModelPrice()
ModelPrice(UsageType, double)
protected ModelPrice(UsageType type, double costInUsd)
Parameters
typeUsageTypecostInUsddouble
Fields
costInUsd
public double costInUsd
Field Value
- double
m_TypeNameCache
protected string m_TypeNameCache
Field Value
- string
type
public UsageType type
Field Value
Methods
CalcCostInUsd(double)
public double CalcCostInUsd(double amount)
Parameters
amountdouble
Returns
- double
GetTypeName()
public virtual string GetTypeName()
Returns
- string
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.