This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
thinkgeo.mapsuite.mvcedition.mvcclientscriptmanager [2015/08/20 03:08] 127.0.0.1 external edit |
thinkgeo.mapsuite.mvcedition.mvcclientscriptmanager [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager ====== | ====== ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager ====== | ||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
- | |||
- | <!-- Class --> | ||
This Class defines the utility for managing, registering or adding the client script libraries and script files of Mvc application to the page. | This Class defines the utility for managing, registering or adding the client script libraries and script files of Mvc application to the page. | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
- | *System.Object | + | *System.Object |
- | **[[ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager]] | + | ***ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager** |
===== Members Summary ===== | ===== Members Summary ===== | ||
==== Public Constructors ==== | ==== Public Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} MvcClientScriptManager(TextWriter) ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#MvcClientScriptManager(TextWriter)|MvcClientScriptManager]] | TextWriter | | Initalizes a new instance of the MvcClientScriptManager with the specified TextWriter. | | + | |
- | ==== Protected Constructors ==== | + | * //Initalizes a new instance of the MvcClientScriptManager with the specified TextWriter.// |
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
+ | * //N/A// | ||
+ | == Parameters == | ||
+ | * //textWriter// | ||
+ | * Type:TextWriter | ||
+ | * Description:The textWriter of the viewContext in the page. | ||
+ | <div newline></div> | ||
+ | ==== Protected Constructors ==== | ||
==== Public Methods ==== | ==== Public Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} RegisterClientScriptBlock(String,String) ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#RegisterClientScriptBlock(String, String)|RegisterClientScriptBlock]] | String, String | | Registers a specified client JavaScript block to the page. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#RegisterClientScriptBlock(String, String, Boolean)|RegisterClientScriptBlock]] | String, String, Boolean | | Registers a specified client JavaScript block to the page. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#RegisterClientScriptInclude(String, String)|RegisterClientScriptInclude]] | String, String | | Registers a client JavaScript file to the page which contains the control. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | + | |
- | ==== Protected Methods ==== | + | * //Registers a specified client JavaScript block to the page.// |
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | + | * //N/A// |
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | + | |
- | ==== Public Properties ==== | + | == Return Value == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * Type:Void |
- | | {{wiki:PublicProperty.gif|Public Property}}[[#TextWriter|TextWriter]] | TextWriter | | Gets the textwriter of the ViewContext in the page. | | + | * Description:N/A |
- | ==== Protected Properties ==== | + | == Parameters == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * //key// |
+ | * Type:String | ||
+ | * Description:A unique identifier for the script file. | ||
- | ==== Public Events ==== | + | * //script// |
- | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | + | * Type:String |
+ | * Description:The client JavaScript block. | ||
- | ===== Public Constructors ===== | + | <div newline></div> |
- | ==== MvcClientScriptManager(TextWriter) ==== | + | ** {{wiki:PublicMethod.gif|}} RegisterClientScriptBlock(String,String,Boolean) ** |
- | Initalizes a new instance of the MvcClientScriptManager with the specified TextWriter. | + | |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | textWriter | TextWriter<!-- System.IO.TextWriter --> | The textWriter of the viewContext in the page. | | + | |
- | [[#Public Constructors|Go Back]] | + | * //Registers a specified client JavaScript block to the page.// |
- | ===== Protected Constructors ===== | + | == Remarks == |
- | ===== Public Methods ===== | + | * //N/A// |
- | ==== Equals(Object) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Boolean<!-- System.Boolean --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | obj | Object<!-- System.Object --> | | | + | * Description:N/A |
- | <!-- System.Object --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //key// |
- | ==== GetHashCode() ==== | + | * Type:String |
- | === Return Value === | + | * Description:A unique identifier for the script file. |
- | ^ Return Type ^ Description ^ | + | |
- | | Int32<!-- System.Int32 --> | | | + | |
- | === Parameters === | + | * //script// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:String |
+ | * Description:The client JavaScript block. | ||
- | <!-- System.Object --> | + | * //addScriptTag// |
- | [[#Public Methods|Go Back]] | + | * Type:Boolean |
- | ==== GetType() ==== | + | * Description:ture to enclose the script block with and tags; otherwise false. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Type<!-- System.Type --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{wiki:PublicMethod.gif|}} RegisterClientScriptInclude(String,String) ** |
- | <!-- System.Object --> | + | * //Registers a client JavaScript file to the page which contains the control.// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ==== RegisterClientScriptBlock(String, String) ==== | + | * //N/A// |
- | Registers a specified client JavaScript block to the page. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Void |
- | | key | String<!-- System.String --> | A unique identifier for the script file. | | + | * Description:N/A |
- | | script | String<!-- System.String --> | The client JavaScript block. | | + | |
- | <!-- ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager --> | + | == Parameters == |
- | [[#Public Methods|Go Back]] | + | * //key// |
- | ==== RegisterClientScriptBlock(String, String, Boolean) ==== | + | * Type:String |
- | Registers a specified client JavaScript block to the page. | + | * Description:A unique identifier for the script file. |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //url// |
- | ^ Name ^ Type ^ Description ^ | + | * Type:String |
- | | key | String<!-- System.String --> | A unique identifier for the script file. | | + | * Description:The URL of the script file. |
- | | script | String<!-- System.String --> | The client JavaScript block. | | + | |
- | | addScriptTag | Boolean<!-- System.Boolean --> | ture to enclose the script block with and tags; otherwise false. | | + | |
- | <!-- ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} ToString() ** |
- | ==== RegisterClientScriptInclude(String, String) ==== | + | |
- | Registers a client JavaScript file to the page which contains the control. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | key | String<!-- System.String --> | A unique identifier for the script file. | | + | * //N/A// |
- | | url | String<!-- System.String --> | The URL of the script file. | | + | |
- | <!-- ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:String |
- | ==== ToString() ==== | + | * Description:N/A |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
+ | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
- | <!-- System.Object --> | + | * //N/A// |
- | [[#Public Methods|Go Back]] | + | == Remarks == |
- | ===== Protected Methods ===== | + | * //N/A// |
- | ==== Finalize() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Return Value == |
- | ^ Name ^ Type ^ Description ^ | + | * Type:Boolean |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | * //obj// |
- | ==== MemberwiseClone() ==== | + | * Type:Object |
- | === Return Value === | + | * Description:N/A |
- | ^ Return Type ^ Description ^ | + | |
- | | Object<!-- System.Object --> | | | + | |
- | === Parameters === | + | <div newline></div> |
- | ^ Name ^ Type ^ Description ^ | + | ** {{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 ==== | ||
+ | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Object | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ==== Public Properties ==== | ||
+ | ** {{wiki:PublicProperty.gif|}} TextWriter ** | ||
- | <!-- System.Object --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ===== Public Properties ===== | ||
- | ==== TextWriter ==== | ||
Gets the textwriter of the ViewContext in the page. | Gets the textwriter of the ViewContext in the page. | ||
- | === Return Value === | + | == Remarks == |
- | ^ Return Type ^ | + | N/A |
- | | TextWriter<!-- System.IO.TextWriter --> | | + | == Return Value == |
+ | * Type:TextWriter | ||
- | <!-- ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager --> | + | ==== Protected Properties ==== |
- | [[#Public Properties|Go Back]] | + | ==== Public Events ==== |
- | ===== Protected Properties ===== | + | |
- | ===== Public Events ===== | + | |
- | __NOTOC__ | + | |
- | [[Category:MvcEdition]] | + | |
- | [[Category:ThinkGeo.MapSuite.MvcEdition]] | + | |
- | [[Category:UpdateDocumentation]] | + | |