Table of Contents

Class ModelPrice

Namespace
Glitch9.AIDevKit
[Serializable]
public abstract class ModelPrice
Inheritance
object
ModelPrice
Derived

Constructors

ModelPrice()

public ModelPrice()

ModelPrice(UsageType, double)

protected ModelPrice(UsageType type, double costInUsd)

Parameters

type UsageType
costInUsd double

Fields

costInUsd

public double costInUsd

Field Value

double

m_TypeNameCache

protected string m_TypeNameCache

Field Value

string

type

public UsageType type

Field Value

UsageType

Methods

CalcCostInUsd(double)

public double CalcCostInUsd(double amount)

Parameters

amount double

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.