Click or drag to resize

EmitHelperToStringNonNull Method

Returns a string representation of the given value, which must be not null (for emit,record)

Namespace: de.unika.ipd.grGen.libGr
Assembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntax
C#
public static string ToStringNonNull(
	Object value,
	IGraph graph,
	bool firstLevelObjectEmitted,
	ObjectNamerAndIndexer objectNamerAndIndexer,
	TransientObjectNamerAndIndexer transientObjectNamerAndIndexer,
	IGraphProcessingEnvironment procEnv
)

Parameters

value  Object
The value of which to get the string representation
graph  IGraph
The graph with the model and the element names if available, otherwise null
firstLevelObjectEmitted  Boolean
Prevents emitting of further objects and thus infinite regressions
objectNamerAndIndexer  ObjectNamerAndIndexer
If not null, it is used to name the visited objects or collect them
transientObjectNamerAndIndexer  TransientObjectNamerAndIndexer
If not null, it is used to name the visited transient objects or collect them
procEnv  IGraphProcessingEnvironment
If not null, the processing environment is used for transient object unique id emitting and fetching

Return Value

String
string representation of the value
See Also