Click or drag to resize

IActions Interface

The interface to the actions (the "generic" interface, using strings and objects).

Namespace: de.unika.ipd.grGen.libGr
Assembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntax
C#
public interface IActions

The IActions type exposes the following members.

Properties
 NameDescription
Public propertyActions Enumerates all actions managed by this IActions instance.
Public propertyCustomCommandsAndDescriptions The action-backend dependent commands that are available, and a description of each command.
Public propertyFunctionDefinitions Enumerates all function definitions.
Public propertyGraph The associated graph.
Public propertyMatchClasses Enumerates all match class filterers (and thus also match class info objects) managed by this IActions instance.
Public propertyModelMD5Hash An MD5 hash of the used IGraphModel.
Public propertyName The name of the actions.
Public propertyPackages The packages defined in this IActions instance.
Public propertyProcedureDefinitions Enumerates all procedure definitions.
Public propertySequenceDefinitions Enumerates all graph rewrite sequence definitions.
Top
Methods
 NameDescription
Public methodArrayGroupBy Groups the array alongside the values in the given member. The array must be of match type, of a match of one of the actions in this actions object or one of the match classes in this actions object.
Public methodArrayIndexOfBy(IList, String, Object) Searches the array for the given value in the given member. The array must be of match or match class type of this actions object.
Public methodArrayIndexOfBy(IList, String, Object, Int32) Searches the array for the given value in the given member. The array must be of match or match class type of this actions object.
Public methodArrayIndexOfOrderedBy Searches the array for the given value in the given member. The array must be of a match or match class type of this actions object. The array must be ordered alongside the member.
Public methodArrayKeepOneForEach Keeps the array members with distinct values in the given member / removes duplicates. The array must be of match type, of a match of one of the actions in this actions object, or one of the match classes in this actions object.
Public methodArrayLastIndexOfBy(IList, String, Object) Searches the array for the given value in the given member from back to front. The array must be of match or match class type of this actions object.
Public methodArrayLastIndexOfBy(IList, String, Object, Int32) Searches the array for the given value in the given member from back to front. The array must be of match or match class type of this actions object.
Public methodArrayOrderAscendingBy Orders the array ascendingly alongside the values in the given member. The array must be of match type, of a match of one of the actions in this actions object, or one of the match classes in this actions object.
Public methodArrayOrderDescendingBy Orders the array descendingly alongside the values in the given member. The array must be of match type, of a match of one of the actions in this actions object, or one of the match classes in this actions object.
Public methodCustom Does action-backend dependent stuff.
Public methodFailAssertion Debugging helper. Fails in a debug build with an assertion.
Public methodGetAction Gets the action with the given name.
Public methodGetFunctionDefinition Retrieve a function definition.
Public methodGetMatchClass Gets the filterer of the match class with the given name.
Public methodGetProcedureDefinition Retrieve a procedure definition.
Public methodGetSequenceDefinition Retrieve a graph rewrite sequence definition.
Top
See Also