Class SerializationExtensions
Utilities related to (de)serialization.
Inheritance
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public static class SerializationExtensions : Object
Fields
AssemblyQualifyingNameSeparator
The QualifyingName separator constant.
Declaration
public const string AssemblyQualifyingNameSeparator = ";"
Field Value
System.String
|
Methods
GetAssemblyNames(String)
Gets the assembly names from the provided qualifying names.
Declaration
public static string[] GetAssemblyNames(string qualifyingNames)
Parameters
System.String
qualifyingNames
|
Returns
System.String[]
|
GetSerializationInfo(DiagramMetadata, Boolean)
Gets the serialization info.
Declaration
public static SerializationInfo GetSerializationInfo(this DiagramMetadata metadata, bool onlyBasicMetadata = false)
Parameters
DiagramMetadata
metadata
The metadata. |
System.Boolean
onlyBasicMetadata
If set to |
Returns
SerializationInfo
|
GetSerializationInfo(IConnection)
Gets the serializationInfo.
Declaration
public static SerializationInfo GetSerializationInfo(this IConnection connection)
Parameters
IConnection
connection
The connection. |
Returns
SerializationInfo
|
GetSerializationInfo(IDiagramItem)
Gets the SerializationInfo of the IDiagramItem.
Declaration
public static SerializationInfo GetSerializationInfo(this IDiagramItem item)
Parameters
IDiagramItem
item
The item to dehydrate. |
Returns
SerializationInfo
|
GetSerializationInfo(IShape)
Gets the serializationInfo.
Declaration
public static SerializationInfo GetSerializationInfo(this IShape shape)
Parameters
IShape
shape
The shape. |
Returns
SerializationInfo
|
SetFromSerializationInfo(DiagramMetadata, SerializationInfo)
Sets from serialization info.
Declaration
public static void SetFromSerializationInfo(this DiagramMetadata metadata, SerializationInfo info)
Parameters
DiagramMetadata
metadata
The metadata. |
SerializationInfo
info
The info. |
SetFromSerializationInfo(IConnection, SerializationInfo)
Sets from serialization info.
Declaration
public static void SetFromSerializationInfo(this IConnection connection, SerializationInfo info)
Parameters
IConnection
connection
The connection. |
SerializationInfo
info
The serialization info. |
SetFromSerializationInfo(IDiagramItem, SerializationInfo)
Sets from serialization info.
Declaration
public static void SetFromSerializationInfo(this IDiagramItem item, SerializationInfo info)
Parameters
IDiagramItem
item
The item. |
SerializationInfo
info
The serialization item. |
SetFromSerializationInfo(IGraphInternal, SerializationInfo)
Sets from serialization info.
Declaration
public static void SetFromSerializationInfo(this IGraphInternal graph, SerializationInfo info)
Parameters
IGraphInternal
graph
The graph. |
SerializationInfo
info
The info. |
SetFromSerializationInfo(IShape, SerializationInfo)
Sets from serialization info.
Declaration
public static void SetFromSerializationInfo(this IShape shape, SerializationInfo info)
Parameters
IShape
shape
The shape. |
SerializationInfo
info
The serialization info. |