Jump to: navigation, search

Changes


UBIK Actions

3 bytes added, 21:24, 11 December 2023
To add the IUBIKAction C# interface to the custom code of a {{UBIK}} MetaClass, the classification SYSCLS_ACTION can be assigned to a MetaClass that should define Actions.
The ACTION MetaClass has this classification by default and provides a basic implementation for the configuration of a target method. Similar to the obsolete Workflow MetaClass, it provides Boolean properties to flag an Action either for instances or MetaClasses. Also, it has two string properties for the identification of a target method and the class it is defined in:
 
{| class="wikitable" style="margin:auto"
|+ ACTION properties
| METHODOWNER || String || The full type name (with namespace in the form of ''com.example.TypeName'') providing the method to perform with this Action
|}
 
'''Restrictions for the target class and method'''
 
The {{UBIK}} object to perform this action for must be specified for the target class and method, and the target class and method must be accessible. This means both the class and the method must be public. Also, either the method or the class constructor must take a ''BaseClass'' as a parameter. Static methods and classes are also supported. In case of a non-static method, the owning class must have a public constructor without parameters or with a single ''BaseClass'' parameter.
The DLL containing the target method ({{UBIK}} custom code is also supported) must be available to {{UBIK}}, for example in the ''Injection'' folder.
</syntaxhighlight>
[[Category:Actions|UBIK Actions]]
[[Category:Coding|UBIK Actions]]
[[Category:Workflow|UBIK Actions]]
[[Category:Actions|UBIK Actions]]
1,606
edits