C# Class TeaseAI_CE.Scripting.BlockBase

Foundation for root level blocks, eg a script, or a list.
Inheritance: Line, IKeyed
显示文件 Open project: TeaseAI/TeaseAI-CE Class Usage Examples

Public Properties

Property Type Description
Group GroupInfo
Log Logger

Public Methods

Method Description
BlockBase ( string key, Line lines, string tags, GroupInfo group, Logger log ) : System
ContainsTag ( string key ) : bool
Get ( Key key, Logger log = null ) : Variable
SetValid ( bool running ) : void

Sets valid to running, or to passed/failed.

Method Details

BlockBase() public method

public BlockBase ( string key, Line lines, string tags, GroupInfo group, Logger log ) : System
key string
lines Line
tags string
group GroupInfo
log Logger
return System

ContainsTag() public method

public ContainsTag ( string key ) : bool
key string
return bool

Get() public method

public Get ( Key key, Logger log = null ) : Variable
key Key
log Logger
return Variable

SetValid() public method

Sets valid to running, or to passed/failed.
public SetValid ( bool running ) : void
running bool If false, determin whether it passed.
return void

Property Details

Group public_oe property

public GroupInfo,TeaseAI_CE.Scripting Group
return GroupInfo

Log public_oe property

public Logger Log
return Logger