Click or drag to resize

ModelDiagram Methods

The ModelDiagram type exposes the following members.

Methods
  NameDescription
Public methodAddLink
Adds a new link.
Public methodAddLink(ModelDiagramShape, ModelDiagramShape, Object)
Adds a new link.
Public methodAddShape
Adds a new shape.
Public methodAddShape(Object)
Adds a new shape.
Public methodChildren
Returns all children objects.
(Inherited from ModelingObject.)
Public methodDeleteLink(Int32)
Deletes the link with the specified id.
Public methodDeleteLink(ModelDiagramLink)
Deletes the specified link.
Public methodDeleteShape(Int32)
Deletes the shape with the specified id.
Public methodDeleteShape(ModelDiagramShape)
Deletes the specified shape.
Public methodEnsureConsistency
Ensures the consistency of this diagram by adapting shapes and links with external changes (content-types, relations, ...).
Public methodGetGuid
Gets the Guid.
(Inherited from ModelingObject.)
Public methodGetLink
Gets a link by its id.
Public methodGetListItem
Gets a text representing this object using Id and Name.
(Inherited from ModelingObject.)
Public methodGetName
Gets the name.
(Inherited from ModelingObject.)
Public methodGetParentParentType
Returns the first parent of a given type in the modeling tree. Returns null if not found.
(Inherited from ModelingObject.)
Public methodGetShape
Gets a shape by its id.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also