application class

Description

Represents the execution environment.

Notes

It is a class that is statically included in the Cooker.

An instance returned by variable declaration has been initialized.

Returns a singleton instance in response to an instance creation request. That is, variables of this class refer to the same instance.

fitter

SignatureDescription
application()

Returns a new instance of application class.

getter

SignatureDescription
Options

Returns startup options for the browser.

AppName

Returns the application name.

AppVersion

Returns the version of the application.

CleanUpCache

Returns a value that indicates whether the cache will be cleared.

CurrentDirectory

Returns a path of the current directory.

Depot

Returns the dictionary.

DpiScaleFactorX

Returns the horizontal conversion ratio of physical pixels and logical pixels.

DpiScaleFactorY

Returns the vertical conversion ratio of physical pixels and virtual pixels.

ExeDirectory

Returns a path of the directory where the execution file of this application exists.

Fitted

Returns the value that indicates whether an instance was initialized.

HtmlsDirectory

Returns a path of the directory for local Html file mapping.

JSStorageDirectory

Returns a path of the file storage directory for JavaScript.

Nonce

Returns a value that indicates the date and time the application was started.

RiceVersion

Returns the version of the Rice.

SourceDirectory

Returns the path of the directory where the running script file exists.

TypeName

Returns the type name.

setter

SignatureDescription
Options(string)

Sets startup options for the browser.

CleanUpCache(bool)

Sets a value that indicates whether to clear the cache.

method

SignatureDescription
AppNotice(class,string)

Assigns a handler to the "AppNotice" event.

SendAppNotice(string)

Fires the "AppNotice" event.

Copyright © Cooker All rights reserved.