Class IfThenBlock
Inheritance
System.Object
IfThenBlock
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public class IfThenBlock : Object, INotifyPropertyChanged, IValidity, IHasClientControlledContainers, IController, IViewController, IHasUniversalID
Constructors
IfThenBlock()
Declaration
IfThenBlock(LegalAction)
Declaration
public IfThenBlock(LegalAction action)
Parameters
Properties
ControllerID
Declaration
public ref int ControllerID { get; }
Property Value
Type |
Description |
System.Int32 |
|
ElseChosen
Declaration
public bool ElseChosen { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
If
Declaration
public SetOfConditions If { get; set; }
Property Value
Then
Declaration
public ControllerList<LegalAction> Then { get; set; }
Property Value
Methods
DescribeFull(Boolean)
Declaration
public LocString DescribeFull(bool isElse)
Parameters
Type |
Name |
Description |
System.Boolean |
isElse |
|
Returns
Declaration
public PostResult TryPerform(Law law, GameAction action, AccountChangeSet acc, LawSection section, int index, LocStringBuilder sbDebug)
Parameters
Returns
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods