Click or drag to resize

LGSPBackendCreateFromSpec Method (String, IGlobalVariables)

Creates a new LGSPGraph instance from the specified specification file. If the according dll does not exist or is out of date, the needed processing steps are performed automatically. A name for the graph is automatically generated.

Namespace:  de.unika.ipd.grGen.lgsp
Assembly:  lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.2
Syntax
C#
public LGSPGraph CreateFromSpec(
	string gmFilename,
	IGlobalVariables globalVariables
)

Parameters

gmFilename
Type: SystemString
Filename of the model specification file (.gm).
globalVariables
Type: de.unika.ipd.grGen.libGrIGlobalVariables
An object implementing the IGlobalVariables interface, serving as global variables.

Return Value

Type: LGSPGraph
The new LGSPGraph instance.
Exceptions
ExceptionCondition
FileNotFoundExceptionThrown, when a needed specification file does not exist.
ExceptionThrown, when something goes wrong.
See Also