IStaticClientScript GetUri Method | Glimpse API Documentation |
Gets the Uri to set as the value for the src attribute.
Namespace: Glimpse.Core.ExtensibilityAssembly: Glimpse.Core (in Glimpse.Core.dll) Version: 1.0.1.0 (1.0.1)
Syntax
Parameters
- version
- Type: System String
A unique string that should be combined with the Uri to allow for Http cache invalidation.In this example, the version parameter is appended to a query string argument.Examplespublic string GetUri(string version) { return "//localhost/scripts/myScript.js?v=" + version; }
public string GetUri(string version) { return "//localhost/scripts/myScript.js?v=" + version; }
Return Value
A string Uri pointing to a JavaScript asset.Remarks
See Also