|
enum | FunctionType |
|
enum | ButtonState |
|
|
ButtonState | State [get, set] |
|
VirtualKeyCode | Key [get, set] |
|
VirtualKeyCode | Modifier [get, set] |
|
FunctionType | FuncType [get, set] |
|
string | File [get, set] |
|
string | Script [get, set] |
|
string | Name [get, set] |
|
string | MenuPath [get, set] |
|
string | ContextPath [get, set] |
|
double | Value [get, set] |
|
string | Microscope [get, set] |
|
Definition at line 307 of file FunctionForm.cs.
◆ ButtonState
enum BioCore.Function.ButtonState |
◆ FunctionType
enum BioCore.Function.FunctionType |
◆ Initialize()
static void BioCore.Function.Initialize |
( |
| ) |
|
|
static |
It reads all the files in the Functions folder, parses them into Function objects, and adds them to the Functions dictionary
Definition at line 530 of file FunctionForm.cs.
◆ Parse()
static Function BioCore.Function.Parse |
( |
string |
s | ) |
|
|
static |
It takes a string, and if it's empty, it returns a new Function object. Otherwise, it returns a new Function object that is the deserialized version of the string
- Parameters
-
- Returns
- A function object.
Definition at line 475 of file FunctionForm.cs.
◆ PerformFunction()
object BioCore.Function.PerformFunction |
( |
bool |
imagej | ) |
|
It runs a script or a keystroke
- Parameters
-
imagej | boolean, whether to run the script as an ImageJ script or a C# script |
- Returns
- The return value is the result of the function.
Definition at line 496 of file FunctionForm.cs.
◆ Save()
void BioCore.Function.Save |
( |
| ) |
|
It saves all the functions in the Functions dictionary to a file.
Definition at line 547 of file FunctionForm.cs.
◆ Serialize()
string BioCore.Function.Serialize |
( |
| ) |
|
"Serialize" is a function that takes an object and returns a string
- Returns
- The object is being serialized into a JSON string.
Definition at line 485 of file FunctionForm.cs.
◆ ToString()
override string BioCore.Function.ToString |
( |
| ) |
|
◆ Functions
Dictionary<string, Function> BioCore.Function.Functions = new Dictionary<string, Function>() |
|
static |
◆ input
InputSimulator BioCore.Function.input = new InputSimulator() |
|
static |
◆ ContextPath
string BioCore.Function.ContextPath |
|
getset |
◆ File
string BioCore.Function.File |
|
getset |
◆ FuncType
FunctionType BioCore.Function.FuncType |
|
getset |
◆ Key
VirtualKeyCode BioCore.Function.Key |
|
getset |
◆ MenuPath
string BioCore.Function.MenuPath |
|
getset |
◆ Microscope
string BioCore.Function.Microscope |
|
getset |
◆ Modifier
VirtualKeyCode BioCore.Function.Modifier |
|
getset |
◆ Name
string BioCore.Function.Name |
|
getset |
◆ Script
string BioCore.Function.Script |
|
getset |
◆ State
ButtonState BioCore.Function.State |
|
getset |
◆ Value
double BioCore.Function.Value |
|
getset |
The documentation for this class was generated from the following file: