User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.mapentitymodelbinder

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
thinkgeo.mapsuite.mvcedition.mapentitymodelbinder [2015/08/20 03:08]
127.0.0.1 external edit
thinkgeo.mapsuite.mvcedition.mapentitymodelbinder [2017/03/16 21:59] (current)
Line 1: Line 1:
 ====== ThinkGeo.MapSuite.MvcEdition.MapEntityModelBinder ====== ====== ThinkGeo.MapSuite.MvcEdition.MapEntityModelBinder ======
  
 +{{section>​upgrade_map_suite_to_10.0}}
  
  
-<!-- Class --> 
 ===== Inheritance Hierarchy ===== ===== Inheritance Hierarchy =====
-*System.Object +  ​*System.Object 
-**[[ThinkGeo.MapSuite.MvcEdition.EntityModelBinder]] +    *ThinkGeo.MapSuite.MvcEdition.EntityModelBinder 
-***[[ThinkGeo.MapSuite.MvcEdition.MapEntityModelBinder]]+      ***ThinkGeo.MapSuite.MvcEdition.MapEntityModelBinder**
 ===== Members Summary ===== ===== Members Summary =====
 ==== Public Constructors ==== ==== Public Constructors ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +** {{wiki:​PublicMethod.gif|}} MapEntityModelBinder() ​**
-{{wiki:​PublicMethod.gif|Public Method}}[[#MapEntityModelBinder()|MapEntityModelBinder]] ​  ​| ​   |    |    |+
  
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +== Parameters ==
 +<div newline></​div>​
 ==== Protected Constructors ==== ==== Protected Constructors ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
- 
 ==== Public Methods ==== ==== Public Methods ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +** {{wiki:​PublicMethod.gif|}} BindModel(ControllerContext,​ModelBindingContext) ​** 
-{{wiki:​PublicMethod.gif|Public Method}}[[#BindModel(ControllerContext,​ ModelBindingContext)|BindModel]] ​  ​| ​ControllerContextModelBindingContext ​  | [[ThinkGeo.MapSuite.MvcEdition.EntityModelBinder|EntityModelBinder]] ​  | Binds the model to a value by using the specified controller context and binding context. ​  | + 
-{{wiki:​PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] ​  | Object ​  | Object ​  ​| ​   | +  * //N/A// 
-{{wiki:​PublicMethod.gif|Public Method}}[[#​GetHashCode()|GetHashCode]] ​  ​| ​   Object ​  |    | +== Remarks == 
-{{wiki:​PublicMethod.gif|Public Method}}[[#GetType()|GetType]] ​  ​| ​   | Object ​  ​| ​   | +  * //N/A// 
-{{wiki:​PublicMethod.gif|Public Method}}[[#ToString()|ToString]] ​  ​| ​   | Object ​  ​| ​   |+ 
 +== Return Value == 
 +  * Type:​Object 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //​controllerContext//​ 
 +    * Type:ControllerContext 
 +    * Description:​N/​A 
 + 
 +  * //​bindingContext//​ 
 +    * Type:ModelBindingContext 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​PublicMethod.gif|}} ​ToString() ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​String 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +** {{wiki:​PublicMethod.gif|}} ​Equals(Object** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​Boolean 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //obj// 
 +    * Type:Object 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​PublicMethod.gif|}} ​GetHashCode() ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​Int32 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +** {{wiki:​PublicMethod.gif|}} ​GetType() ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Type 
 +  * Description:​N/​A
  
 +== Parameters ==
 +<div newline></​div>​
 ==== Protected Methods ==== ==== Protected Methods ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +** {{wiki:​ProtectedMethod.gif|}} BindModelCore(ControllerContext,​ModelBindingContext) ​**
-{{wiki:​ProtectedMethod.gif|Protected Method}}[[#BindModelCore(ControllerContext,​ ModelBindingContext)|BindModelCore]] ​  | ControllerContext,​ ModelBindingContext ​  | [[ThinkGeo.MapSuite.MvcEdition.EntityModelBinder|EntityModelBinder]](overriden) ​  ​| ​   | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​Finalize()|Finalize]] ​  ​| ​   | Object ​  ​| ​   | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​MemberwiseClone()|MemberwiseClone]] ​  ​| ​   | Object ​  ​| ​   |+
  
-==== Public Properties ==== +  * //N/A// 
-^ Name ^ Return ^ DeclaringType ^ Summary ^+== Remarks ​== 
 +  * //N/A//
  
-==== Protected Properties ==== +== Return Value == 
-^ Name ^ Return ^ DeclaringType ^ Summary ^+  * Type:​Object 
 +  * Description:​N/​A
  
-==== Public Events ==== +== Parameters ​== 
-^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^+  * //​controllerContext//​ 
 +    * Type:​ControllerContext 
 +    * Description:​N/​A
  
-===== Public Constructors ===== +  * //​bindingContext//​ 
-==== MapEntityModelBinder() ==== +    * Type:​ModelBindingContext 
-=== Parameters === +    ​* ​Description:N/A
-^  Name ^  Type ^  ​Description ​^+
  
-[[#Public Constructors|Go Back]] +<div newline></​div>​ 
-===== Protected Constructors ===== +** {{wiki:​ProtectedMethod.gif|}} Finalize() **
-===== Public Methods ===== +
-==== BindModel(ControllerContext,​ ModelBindingContext) ==== +
-Binds the model to a value by using the specified controller context and binding context. +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Object<!-- System.Object --  | The bound value, it will create the instance of the ModelType of bindingContext by converting all the relevant types from the incoming HTTP requestThe method we first check whether it contains called modelName parameters, if any, directly call the Fill method to fill the object with the corresponding values ​​of the parameters. If not, check the Form is empty, if not empty, Form filled object. If the Form is empty, check the QueryString is empty, if not empty QueryString to fill the object, if you are empty, null is returned. here only one example of the actual project may here need other forms of control and judgment are bound even create multiple ModelBinder to different entities. ​  |+
  
-=== Parameters === +  * //N/A// 
- Name ^  Type ^  Description ^ +== Remarks ​== 
-| controllerContext ​  | ControllerContext<​!-- System.Web.Mvc.ControllerContext --> ​  | The controller context, holds information about the current HTTP request and about the associated controller. ​  | +  ​* //N/A//
-| bindingContext ​  | ModelBindingContext<​!-- System.Web.Mvc.ModelBindingContext --> ​  | The binding context, holds information about the model itself and its metadata. ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.EntityModelBinder --> +== Return Value == 
-[[#Public Methods|Go Back]] +  ​* ​Type:Void 
-==== Equals(Object) ==== +  * Description:N/A
-=== Return Value === +
-^ Return ​Type Description ​+
-| Boolean<​!-- System.Boolean --> ​  ​| ​   |+
  
-=== Parameters ​=== +== Parameters == 
-^  Name ^  Type ^  Description ^ +<div newline></​div>​ 
-| obj   | Object<​!-- System.Object --> ​  ​| ​   ​|+** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() **
  
-<!-- System.Object --> +  * //N/A// 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-==== GetHashCode() ==== +  * //N/A//
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Int32<​!-- System.Int32 --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​^+  ​Type:Object 
 +  Description:N/A
  
-<!-- System.Object --> +== Parameters ​== 
-[[#Public Methods|Go Back]] +<div newline></​div>​ 
-==== GetType() ​==== +** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} 9RM=(Map,​String) **
-=== Return Value === +
-^ Return Type ^ Description ^ +
-Type<!-- System.Type --> ​  ​| ​   ​|+
  
-=== Parameters === +  * //N/A// 
-^  Name ^  Type ^  Description ^+== Remarks ​== 
 +  ​* //N/A//
  
-<!-- System.Object --> +== Return Value == 
-[[#Public Methods|Go Back]] +  ​* ​Type:Void 
-==== ToString() ==== +  * Description:N/A
-=== Return Value === +
-^ Return ​Type Description ​+
-| String<​!-- System.String --> ​  ​| ​   |+
  
-=== Parameters ​=== +== Parameters == 
-^  Name ^  ​Type ​^  ​Description ​^+  ​* //​result//​ 
 +    * Type:​[[ThinkGeo.MapSuite.MvcEdition.Map|Map]] 
 +    * Description:N/A
  
-<!-- System.Object --> +  * //​mapString//​ 
-[[#Public Methods|Go Back]] +    ​* ​Type:String 
-===== Protected Methods ===== +    ​* Description:​N/​A
-==== BindModelCore(ControllerContext,​ ModelBindingContext) ==== +
-=== Return Value === +
-^ Return ​Type ^ Description ^ +
-| Object<​!-- System.Object --> ​  ​| ​   |+
  
-=== Parameters === +<div newline></​div
-^  Name ^  Type ^  Description ^ +** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} 9hM=(Map,​String) **
-| controllerContext ​  | ControllerContext<!-- System.Web.Mvc.ControllerContext --  |    | +
-bindingContext ​  | ModelBindingContext<​!-- System.Web.Mvc.ModelBindingContext --> ​  ​| ​   ​|+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.EntityModelBinder(overriden) --> +  * //N/A// 
-[[#​Protected Methods|Go Back]] +== Remarks ​== 
-==== Finalize() ==== +  * //N/A//
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​^+  ​Type:Void 
 +  Description:N/A
  
-<!-- System.Object --> +== Parameters ​== 
-[[#​Protected Methods|Go Back]] +  * //result// 
-==== MemberwiseClone() ​==== +    ​* ​Type:​[[ThinkGeo.MapSuite.MvcEdition.Map|Map]] 
-=== Return Value === +    * Description:​N/​A
-^ Return ​Type ^ Description ^ +
-| Object<​!-- System.Object --> ​  |    ​|+
  
-=== Parameters === +  * //​vectorJsonString//​ 
-^  Name ^  ​Type ^  ​Description ​^+    ​* ​Type:String 
 +    * Description:N/A
  
-<!-- System.Object --+<div newline></​div
-[[#Protected Methods|Go Back]] +** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} 9xM=(Map,​String) ** 
-===== Public Properties ​===== + 
-===== Protected Properties ​===== +  * //N/A// 
-===== Public Events ====+== Remarks == 
-__NOTOC__ +  * //N/A// 
-[[Category:​MvcEdition]] + 
-[[Category:​ThinkGeo.MapSuite.MvcEdition]] +== Return Value == 
-[[Category:​UpdateDocumentation]]+  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //​result//​ 
 +    * Type:[[ThinkGeo.MapSuite.MvcEdition.Map|Map]] 
 +    * Description:​N/​A 
 + 
 +  * //​simpleMarkerOverlaysJsonString//​ 
 +    * Type:​String 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +==== Public Properties ==== 
 +==== Protected Properties ==== 
 +==== Public Events ====
  
thinkgeo.mapsuite.mvcedition.mapentitymodelbinder.1440040131.txt.gz · Last modified: 2015/09/21 03:33 (external edit)