Class CeresGraphData
Inheritance
object
CeresGraphData
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class CeresGraphData
Fields
nodeData
Declaration
public CeresNodeData[] nodeData
Field Value
variableData
Declaration
public SharedVariableData[] variableData
Field Value
Methods
BuildGraph(CeresGraph)
Declaration
public virtual void BuildGraph(CeresGraph graph)
Parameters
Exceptions
| Type |
Condition |
| System.ArgumentException |
|
Clone()
Declaration
public CeresGraphData Clone()
Returns
CloneT<T>()
Declaration
public T CloneT<T>() where T : CeresGraphData
Returns
Type Parameters
FromJson<T>(string)
Declaration
public static T FromJson<T>(string serializedData) where T : CeresGraphData
Parameters
| Type |
Name |
Description |
| string |
serializedData |
|
Returns
Type Parameters
GetFallbackNode(CeresNodeData, int)
Get fallback node for missing class
Declaration
protected virtual CeresNode GetFallbackNode(CeresNodeData fallbackNodeData, int index)
Parameters
Returns
PreSerialization()
Preprocess before graph data serialized to container
Declaration
public virtual void PreSerialization()
RedirectNodeType(ManagedReferenceType)
Declaration
protected virtual Type RedirectNodeType(ManagedReferenceType nodeType)
Parameters
Returns
| Type |
Description |
| System.Type |
|
RedirectSerializedType(string)
Redirect serialized type from , default using redirectors from APIUpdateConfig
Declaration
protected virtual Type RedirectSerializedType(string serializedType)
Parameters
| Type |
Name |
Description |
| string |
serializedType |
|
Returns
| Type |
Description |
| System.Type |
|
RedirectVariableType(ManagedReferenceType)
Declaration
protected virtual Type RedirectVariableType(ManagedReferenceType nodeType)
Parameters
Returns
| Type |
Description |
| System.Type |
|
ResolveSerializedType(string)
Declaration
protected Type ResolveSerializedType(string serializedType)
Parameters
| Type |
Name |
Description |
| string |
serializedType |
|
Returns
| Type |
Description |
| System.Type |
|
RestoreNode(int, CeresNode[])
Declaration
protected void RestoreNode(int index, CeresNode[] nodes)
Parameters
| Type |
Name |
Description |
| int |
index |
|
| CeresNode[] |
nodes |
|
RestoreVariable(int, SharedVariable[])
Declaration
protected void RestoreVariable(int index, SharedVariable[] variables)
Parameters
ToJson(bool)
Declaration
public string ToJson(bool indented = false)
Parameters
| Type |
Name |
Description |
| bool |
indented |
|
Returns