Class CurrencyPayment
Inheritance
System.Object
CurrencyPayment
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public class CurrencyPayment : ValuePayment, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, ICustomValidity, IValidity, IHasWorkParty, IRootDescriber
Constructors
CurrencyPayment()
Declaration
Properties
Currency
Declaration
public Currency Currency { get; set; }
Property Value
Description
Declaration
public override string Description { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
PayFromAccount
Declaration
public BankAccount PayFromAccount { get; set; }
Property Value
Methods
OnActivated()
Declaration
public override void OnActivated()
Overrides
PayUser(Laborer, Single)
Declaration
protected override string PayUser(Laborer laborer, float amount)
Parameters
Type |
Name |
Description |
Laborer |
laborer |
|
System.Single |
amount |
|
Returns
Type |
Description |
System.String |
|
Overrides
PayUsers(IEnumerable<Laborer>, Single)
Declaration
protected override string PayUsers(IEnumerable<Laborer> laborers, float amount)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<Laborer> |
laborers |
|
System.Single |
amount |
|
Returns
Type |
Description |
System.String |
|
Overrides
ShortDescription()
Declaration
public override string ShortDescription()
Returns
Type |
Description |
System.String |
|
Overrides
Valid()
Declaration
public override Result Valid()
Returns
Overrides
WorkFinished()
Declaration
public override string WorkFinished()
Returns
Type |
Description |
System.String |
|
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods