- Sting
Unit
Unit Methods
Unit() | Constructor for the Unit class using a name |
Unit() | Constructor for the Unit class based on the unit that it is called from |
IsValid() | Returns true if this Unit metadata item is valid |
GetModules() | Returns an array of Module metadata items for the unit |
Derived Classes
None
See Also
Class Hierarchy, Script, Module, Class, Method
public method Unit(string Name)
Parameters
Name
Name of the Aztec unit
Return Value
None
Description
Constructor for the Unit class. This implementation uses a unit name to find the specified Unit. If the unit name exists, the IsValid() method will return true and false if not.
Unit Class
public method Unit()
Parameters
None
Return Value
None
Description
Constructor for the Unit class. This implementation takes no arguments. The Unit that contains the code that performs the call to this constructor will be used for this Unit object..
Unit Class
public virtual method<bool> IsValid()
Parameters
None
Return Value
True if Unit corresponds to a valid Aztec compilation unit
Description
Virtual method which returns true if the underlying unit is valid. If the constructor is called with a unit name that does not exist in this Aztec script/application, this method will return false.
Unit Class
public method<Module[]> GetModules()
Parameters
None
Return Value
Array of Module objects in this unit
Description
This method returns an array of Module metadata objects that are contained in this compilation unit.
Unit Class