Click or drag to resize

mxObjectCodec Constructor (Object, String, String, DictionaryString, String)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Constructs a new codec for the specified template object. The variables in the optional exclude array are ignored by the codec. Variables in the optional idrefs array are turned into references in the XML. The optional mapping may be used to map from variable names to XML attributes.

Namespace:  imbSCI.Graph.MXGraph.io
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public mxObjectCodec(
	Object template,
	string[] exclude,
	string[] idrefs,
	Dictionary<string, string> mapping
)
Request Example View Source

Parameters

template
Type: SystemObject
Prototypical instance of the object to be encoded/decoded.
exclude
Type: SystemString
Optional array of fieldnames to be ignored.
idrefs
Type: SystemString
Optional array of fieldnames to be converted to/from references.
mapping
Type: System.Collections.GenericDictionaryString, String
Optional mapping from field- to attributenames.
See Also