v3.9.1 Documentation
Fungus.Variable Class Referenceabstract

Abstract base class for variables. More...

Inheritance diagram for Fungus.Variable:
Fungus.VariableBase< T >

Public Member Functions

abstract void OnReset ()
 Callback to reset the variable if the Flowchart is reset. More...
 

Protected Attributes

VariableScope scope
 
string key = ""
 

Properties

virtual VariableScope Scope [get, set]
 Visibility scope for the variable. More...
 
virtual string Key [get, set]
 String identifier for the variable. More...
 

Detailed Description

Abstract base class for variables.

Definition at line 102 of file Variable.cs.

Member Function Documentation

◆ OnReset()

abstract void Fungus.Variable.OnReset ( )
pure virtual

Callback to reset the variable if the Flowchart is reset.

Implemented in Fungus.VariableBase< T >.

Member Data Documentation

◆ key

string Fungus.Variable.key = ""
protected

Definition at line 106 of file Variable.cs.

◆ scope

VariableScope Fungus.Variable.scope
protected

Definition at line 104 of file Variable.cs.

Property Documentation

◆ Key

virtual string Fungus.Variable.Key
getset

String identifier for the variable.

Definition at line 118 of file Variable.cs.

◆ Scope

virtual VariableScope Fungus.Variable.Scope
getset

Visibility scope for the variable.

Definition at line 113 of file Variable.cs.


The documentation for this class was generated from the following file: