◆ JavaScriptBuilderElementBuilder()
| FiftyOne.Pipeline.JavaScriptBuilder.FlowElement.JavaScriptBuilderElementBuilder.JavaScriptBuilderElementBuilder | ( | ILoggerFactory | loggerFactory | ) |
Constructor.
- Parameters
-
- loggerFactory - The logger factory.
\r\n
Builder for the JavaScriptBuilderElement See the Specification
| JavaScriptBuilderElementBuilder (ILoggerFactory loggerFactory)
Constructor. More...
| |
| JavaScriptBuilderElementBuilder | SetEnableCookies (bool enableCookies)
Set whether the client JavaScript stored results of client side processing in cookies. More...
|
| JavaScriptBuilderElementBuilder | SetHost (string host)
Set the host that the client JavaScript should query for updates. More...
|
| JavaScriptBuilderElementBuilder | SetEndpoint (string endpoint)
Set the endpoint which will be queried on the host. More...
|
| JavaScriptBuilderElementBuilder | SetProtocol (string protocol)
The protocol that the client JavaScript will use when querying for updates. More...
|
| JavaScriptBuilderElementBuilder | SetObjectName (string objName)
The default name of the object instantiated by the client JavaScript. More...
|
| JavaScriptBuilderElementBuilder | SetMinify (bool minify)
Enable or disable minification of the JavaScript that is produced by the JavaScriptBuilderElement. More...
|
| virtual JavaScriptBuilderElement | Build ()
Build the element. More...
|
| ILoggerFactory | _loggerFactory
Logger factory that may be reused in descendants to produce a distinct logger. More...
|
| ILogger | Logger [get]
The logger for this instance. More...
|
| string | Host = Constants.BUILDER_DEFAULT_HOST [get]
The host name to use when creating a callback URL. More...
|
| string | Endpoint = Constants.BUILDER_DEFAULT_ENDPOINT [get]
The end point (i.e. More...
|
| string | Protocol = Constants.BUILDER_DEFAULT_PROTOCOL [get]
The protocol to use when creating a callback URL. More...
|
| string | ObjName = Constants.BUILDER_DEFAULT_OBJECT_NAME [get]
The name of the JavaScript object that will be created. More...
|
| bool | EnableCookies = Constants.BUILDER_DEFAULT_ENABLE_COOKIES [get]
If set to false, the JavaScript will not populateany cookies, and will instead use session storage. More...
|
| bool | Minify = Constants.BUILDER_DEFAULT_MINIFY [get]
If set to true, the JavaScript output will be minified More...
|
| FiftyOne.Pipeline.JavaScriptBuilder.FlowElement.JavaScriptBuilderElementBuilder.JavaScriptBuilderElementBuilder | ( | ILoggerFactory | loggerFactory | ) |
Constructor.
| virtual JavaScriptBuilderElement FiftyOne.Pipeline.JavaScriptBuilder.FlowElement.JavaScriptBuilderElementBuilder.Build | ( | ) |
Build the element.
| JavaScriptBuilderElementBuilder FiftyOne.Pipeline.JavaScriptBuilder.FlowElement.JavaScriptBuilderElementBuilder.SetEnableCookies | ( | bool | enableCookies | ) |
Set whether the client JavaScript stored results of client side processing in cookies.
This can also be set per request, using the "query.fod-js-enable-cookies" evidence key. For more details on personal data policy, see http://51degrees.com/terms/client-services-privacy-policy/
| JavaScriptBuilderElementBuilder FiftyOne.Pipeline.JavaScriptBuilder.FlowElement.JavaScriptBuilderElementBuilder.SetEndpoint | ( | string | endpoint | ) |
Set the endpoint which will be queried on the host.
e.g /api/v4/json
| JavaScriptBuilderElementBuilder FiftyOne.Pipeline.JavaScriptBuilder.FlowElement.JavaScriptBuilderElementBuilder.SetHost | ( | string | host | ) |
Set the host that the client JavaScript should query for updates.
By default, the host from the request will be used.
| JavaScriptBuilderElementBuilder FiftyOne.Pipeline.JavaScriptBuilder.FlowElement.JavaScriptBuilderElementBuilder.SetMinify | ( | bool | minify | ) |
Enable or disable minification of the JavaScript that is produced by the JavaScriptBuilderElement.
The
package is used to minify the output.
| JavaScriptBuilderElementBuilder FiftyOne.Pipeline.JavaScriptBuilder.FlowElement.JavaScriptBuilderElementBuilder.SetObjectName | ( | string | objName | ) |
| JavaScriptBuilderElementBuilder FiftyOne.Pipeline.JavaScriptBuilder.FlowElement.JavaScriptBuilderElementBuilder.SetProtocol | ( | string | protocol | ) |
The protocol that the client JavaScript will use when querying for updates.
By default, the protocol from the request will be used.
| ILoggerFactory FiftyOne.Pipeline.JavaScriptBuilder.FlowElement.JavaScriptBuilderElementBuilder._loggerFactory |
Logger factory that may be reused in descendants to produce a distinct logger.
| bool FiftyOne.Pipeline.JavaScriptBuilder.FlowElement.JavaScriptBuilderElementBuilder.EnableCookies = Constants.BUILDER_DEFAULT_ENABLE_COOKIES |
If set to false, the JavaScript will not populateany cookies, and will instead use session storage.
| string FiftyOne.Pipeline.JavaScriptBuilder.FlowElement.JavaScriptBuilderElementBuilder.Endpoint = Constants.BUILDER_DEFAULT_ENDPOINT |
The end point (i.e.
the relative URL) to use when creating a callback URL.
| string FiftyOne.Pipeline.JavaScriptBuilder.FlowElement.JavaScriptBuilderElementBuilder.Host = Constants.BUILDER_DEFAULT_HOST |
The host name to use when creating a callback URL.
| ILogger FiftyOne.Pipeline.JavaScriptBuilder.FlowElement.JavaScriptBuilderElementBuilder.Logger |
The logger for this instance.
| bool FiftyOne.Pipeline.JavaScriptBuilder.FlowElement.JavaScriptBuilderElementBuilder.Minify = Constants.BUILDER_DEFAULT_MINIFY |
If set to true, the JavaScript output will be minified
| string FiftyOne.Pipeline.JavaScriptBuilder.FlowElement.JavaScriptBuilderElementBuilder.ObjName = Constants.BUILDER_DEFAULT_OBJECT_NAME |
The name of the JavaScript object that will be created.
| string FiftyOne.Pipeline.JavaScriptBuilder.FlowElement.JavaScriptBuilderElementBuilder.Protocol = Constants.BUILDER_DEFAULT_PROTOCOL |
The protocol to use when creating a callback URL.