====== ThinkGeo.MapSuite.Core.GeoObjectModeler ======
{{section>upgrade_map_suite_to_10.0}}
This class creates models for objects and recreates objects from models.
===== Inheritance Hierarchy =====
*System.Object
***ThinkGeo.MapSuite.Core.GeoObjectModeler**
===== Members Summary =====
==== Public Constructors ====
** {{wiki:PublicMethod.gif|}} GeoObjectModeler() **
* //Creates an instance of GeoObjectModeler.//
== Remarks ==
* //N/A//
== Parameters ==
==== Protected Constructors ====
==== Public Methods ====
** {{wiki:PublicMethod.gif|}} CreateModel(Object,GeoObjectModelerMemberTypes,BindingFlags,GeoObjectModelerDefaultValueMode) **
* //Creates model for an object.//
== Remarks ==
* //N/A//
== Return Value ==
* Type:[[ThinkGeo.MapSuite.Core.GeoObjectModel|GeoObjectModel]]
* Description:The model that represent the object.
== Parameters ==
* //objectToModel//
* Type:Object
* Description:The object to model.
* //memberTypes//
* Type:[[ThinkGeo.MapSuite.Core.GeoObjectModelerMemberTypes|GeoObjectModelerMemberTypes]]
* Description:The member types.
* //bindingFlags//
* Type:BindingFlags
* Description:The binding flags.
* //defaultValueMode//
* Type:[[ThinkGeo.MapSuite.Core.GeoObjectModelerDefaultValueMode|GeoObjectModelerDefaultValueMode]]
* Description:The default value mode.
** {{wiki:PublicMethod.gif|}} CreateObject(GeoObjectModel) **
* //Creates an object from a model.//
== Remarks ==
* //N/A//
== Return Value ==
* Type:Object
* Description:The object recreated from the model.
== Parameters ==
* //model//
* Type:[[ThinkGeo.MapSuite.Core.GeoObjectModel|GeoObjectModel]]
* Description:The model.
** {{wiki:PublicMethod.gif|}} ToString() **
* //N/A//
== Remarks ==
* //N/A//
== Return Value ==
* Type:String
* Description:N/A
== Parameters ==
** {{wiki:PublicMethod.gif|}} Equals(Object) **
* //N/A//
== Remarks ==
* //N/A//
== Return Value ==
* Type:Boolean
* Description:N/A
== Parameters ==
* //obj//
* Type:Object
* Description:N/A
** {{wiki:PublicMethod.gif|}} GetHashCode() **
* //N/A//
== Remarks ==
* //N/A//
== Return Value ==
* Type:Int32
* Description:N/A
== Parameters ==
** {{wiki:PublicMethod.gif|}} GetType() **
* //N/A//
== Remarks ==
* //N/A//
== Return Value ==
* Type:Type
* Description:N/A
== Parameters ==
==== Protected Methods ====
** {{wiki:ProtectedMethod.gif|}} GetMembers(Type,GeoObjectModelerMemberTypes) **
* //Gets members of a type.//
== Remarks ==
* //N/A//
== Return Value ==
* Type:Collection
* Description:The members of a type.
== Parameters ==
* //type//
* Type:Type
* Description:The type.
* //memberTypes//
* Type:[[ThinkGeo.MapSuite.Core.GeoObjectModelerMemberTypes|GeoObjectModelerMemberTypes]]
* Description:The member types.
** {{wiki:ProtectedMethod.gif|}} GetMembersCore(Type,GeoObjectModelerMemberTypes) **
* //Gets members of a type.//
== Remarks ==
* //N/A//
== Return Value ==
* Type:Collection
* Description:The members of a type.
== Parameters ==
* //type//
* Type:Type
* Description:The type.
* //memberTypes//
* Type:[[ThinkGeo.MapSuite.Core.GeoObjectModelerMemberTypes|GeoObjectModelerMemberTypes]]
* Description:The member types.
** {{wiki:ProtectedMethod.gif|}} OnCreatingMemberNode(CreatingMemberNodeGeoObjectModelerEventArgs) **
* //N/A//
== Remarks ==
* //N/A//
== Return Value ==
* Type:Void
* Description:N/A
== Parameters ==
* //e//
* Type:[[ThinkGeo.MapSuite.Core.CreatingMemberNodeGeoObjectModelerEventArgs|CreatingMemberNodeGeoObjectModelerEventArgs]]
* Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnCreatingMemberObject(CreatingMemberObjectGeoObjectModelerEventArgs) **
* //N/A//
== Remarks ==
* //N/A//
== Return Value ==
* Type:Void
* Description:N/A
== Parameters ==
* //e//
* Type:[[ThinkGeo.MapSuite.Core.CreatingMemberObjectGeoObjectModelerEventArgs|CreatingMemberObjectGeoObjectModelerEventArgs]]
* Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnCreatedMemberNode(CreatedMemberNodeGeoObjectModelerEventArgs) **
* //N/A//
== Remarks ==
* //N/A//
== Return Value ==
* Type:Void
* Description:N/A
== Parameters ==
* //e//
* Type:[[ThinkGeo.MapSuite.Core.CreatedMemberNodeGeoObjectModelerEventArgs|CreatedMemberNodeGeoObjectModelerEventArgs]]
* Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnCreatedMemberObject(CreatedMemberObjectGeoObjectModelerEventArgs) **
* //N/A//
== Remarks ==
* //N/A//
== Return Value ==
* Type:Void
* Description:N/A
== Parameters ==
* //e//
* Type:[[ThinkGeo.MapSuite.Core.CreatedMemberObjectGeoObjectModelerEventArgs|CreatedMemberObjectGeoObjectModelerEventArgs]]
* Description:N/A
** {{wiki:ProtectedMethod.gif|}} CreateMemberNode(String,Object,Type,Object,GeoObjectNode) **
* //Creates a node for a member.//
== Remarks ==
* //N/A//
== Return Value ==
* Type:Void
* Description:N/A
== Parameters ==
* //memberName//
* Type:String
* Description:The member name.
* //memberValue//
* Type:Object
* Description:The member value.
* //memberType//
* Type:Type
* Description:The member type.
* //memberOwner//
* Type:Object
* Description:The member's owner(parent) object.
* //baseMemberNode//
* Type:[[ThinkGeo.MapSuite.Core.GeoObjectNode|GeoObjectNode]]
* Description:The base(parent) member node.
** {{wiki:ProtectedMethod.gif|}} CreateMemberNodeCore(String,Object,Type,Object,GeoObjectNode) **
* //Creates a node for a member.//
== Remarks ==
* //N/A//
== Return Value ==
* Type:Void
* Description:N/A
== Parameters ==
* //memberName//
* Type:String
* Description:The member name.
* //memberValue//
* Type:Object
* Description:The member value.
* //memberType//
* Type:Type
* Description:The member type.
* //memberOwner//
* Type:Object
* Description:The member's owner(parent) object.
* //baseMemberNode//
* Type:[[ThinkGeo.MapSuite.Core.GeoObjectNode|GeoObjectNode]]
* Description:The base(parent) member node.
** {{wiki:ProtectedMethod.gif|}} CreateMemberObject(String,Type,Object,GeoObjectNode) **
* //Creates an object from a node.//
== Remarks ==
* //N/A//
== Return Value ==
* Type:Object
* Description:N/A
== Parameters ==
* //memberName//
* Type:String
* Description:The member name.
* //memberType//
* Type:Type
* Description:The member type.
* //memberOwner//
* Type:Object
* Description:The member's owner(parent) object.
* //memberNode//
* Type:[[ThinkGeo.MapSuite.Core.GeoObjectNode|GeoObjectNode]]
* Description:The member node.
** {{wiki:ProtectedMethod.gif|}} CreateMemberObjectCore(String,Type,Object,GeoObjectNode) **
* //Creates an object from a node.//
== Remarks ==
* //N/A//
== Return Value ==
* Type:Object
* Description:N/A
== Parameters ==
* //memberName//
* Type:String
* Description:The member name.
* //memberType//
* Type:Type
* Description:The member type.
* //memberOwner//
* Type:Object
* Description:The member's owner(parent) object.
* //memberNode//
* Type:[[ThinkGeo.MapSuite.Core.GeoObjectNode|GeoObjectNode]]
* Description:The member node.
** {{wiki:ProtectedMethod.gif|}} Finalize() **
* //N/A//
== Remarks ==
* //N/A//
== Return Value ==
* Type:Void
* Description:N/A
== Parameters ==
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() **
* //N/A//
== Remarks ==
* //N/A//
== Return Value ==
* Type:Object
* Description:N/A
== Parameters ==
==== Public Properties ====
==== Protected Properties ====
** {{wiki:ProtectedProperty.gif|}} IsGeneratingCode **
N/A
== Remarks ==
N/A
== Return Value ==
* Type:Boolean
==== Public Events ====
** {{wiki:PublicEvent.gif|}} CreatingMemberNode **
This event happens when the modeler is creating a node for a member(field or property).
== Remarks ==
N/A
Event Arguments:[[ThinkGeo.MapSuite.Core.CreatingMemberNodeGeoObjectModelerEventArgs|CreatingMemberNodeGeoObjectModelerEventArgs]]
** {{wiki:PublicEvent.gif|}} CreatedMemberNode **
This event happens when the modeler has created a node for a member(field or property).
== Remarks ==
N/A
Event Arguments:[[ThinkGeo.MapSuite.Core.CreatedMemberNodeGeoObjectModelerEventArgs|CreatedMemberNodeGeoObjectModelerEventArgs]]
** {{wiki:PublicEvent.gif|}} CreatingMemberObject **
This event happens when the modeler is recreating an object from a node.
== Remarks ==
N/A
Event Arguments:[[ThinkGeo.MapSuite.Core.CreatingMemberObjectGeoObjectModelerEventArgs|CreatingMemberObjectGeoObjectModelerEventArgs]]
** {{wiki:PublicEvent.gif|}} CreatedMemberObject **
This event happens when the modeler has created an object from a node.
== Remarks ==
N/A
Event Arguments:[[ThinkGeo.MapSuite.Core.CreatedMemberObjectGeoObjectModelerEventArgs|CreatedMemberObjectGeoObjectModelerEventArgs]]