v3.6.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]
 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 81 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 85 of file Variable.cs.

◆ scope

VariableScope Fungus.Variable.scope
protected

Definition at line 83 of file Variable.cs.

Property Documentation

◆ Key

virtual string Fungus.Variable.Key
getset

String identifier for the variable.

Definition at line 97 of file Variable.cs.

◆ Scope

virtual VariableScope Fungus.Variable.Scope
get

Visibility scope for the variable.

Definition at line 92 of file Variable.cs.


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