Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Wisej.Core.ClientProfile
Namespace: Wisej.Core
Assembly: Wisej.Framework (2.2.0.0)
Definition of the client device.
Name | Type | Description |
---|---|---|
String: Device type.
Nullable<Boolean>: Device landscape mode.
Int32: Maximum screen width.
Int32: Maximum browser width.
Int32: Minimum screen width.
Int32: Minimum browser width.
String: Name of the profile.
String: User agent string.
Wisej.Core.CookieStorage
Namespace: Wisej.Core
Assembly: Wisej.Framework (2.2.0.0)
Represents the browser's cookie storage. Use this class through the CookieStorage instance.
Default
Returns the default ClientProfile singleton.
Wisej.Core.ClientTheme
Namespace: Wisej.Core
Assembly: Wisej.Framework (2.2.0.0)
Represents a Wisej theme.
You can create a new custom theme based on an existing theme, empty, or initialized from a JSON string.
You can alter any aspect of a theme by using the dynamic properties: Colors, Images, Fonts, Appearances, Settings, and Stylesheet. These properties, being dynamic, can support any field and any structure. To alter these properties in a way that doesn't break the theme, look at the theme's structure in the ThemeBuilder or a text editor. To save a custom theme you may convert it to a JSON string simply by calling the ToJSON extension method added to all objects by the Wisej framework.
Default private constructor.
Name | Type | Description |
---|---|---|
Constructs a new theme from the name and JSON definition.
Constructs a new theme from the base theme.
Object: Theme appearances.
This is a complex dynamic object with several child objects. The structure can get quite complicated. Before messing with the Appearances object, please study the structure of the themes using the ThemeBuilder or a text editor. Being a dynamic object, you can either create a new appearance or alter an existing appearance at any level.
Object: Theme colors.
You can add or change any color in the current theme:
Object: Theme fonts.
You can add or alter any font to the theme. The structure of the font definition can get complicated. Please refer to the existing themes and the ThemeBuilder to determine the structure to use. The simplest way is to change an existing theme font:
Object: Theme images.
You can add or change any theme image. Images in the theme are just URLs but can be defined in several ways:
Absolute URL An URL starting with http: or https: pointing to an image resource.
Relative URL An URL relative to the current site or relative to value of Images.baseUrl.
base64 A base64 encoded embedded image.
String: The name of the theme.
Object: Theme settings.
The Settings property, added in Wisej 2, allows a theme to define certain internal properties. Currently these are the supported properties:
native-scrollbars Instructs Wisej to use the native scrollbars instead of the themed scrollbars. Setting this property can have negative side effects for virtual scrolling widgets like the DataGridView. The default is false.
overlapped-scrollbars Instructs Wisej to layout the scrollbars over the content being scrolled, similar to Windows' fluent themes or mobiles. The default is false.
Object: Stylesheet rules embedded in the theme.
The Stylesheet property is a new theme property added since Wisej 2.0. It allows a theme to define a set of CSS rules, just as if Default.html specified a css file. This property has only one string array field: "rules". When the theme is rendered, the client library joins all the rules into a css string and creates a stylesheet loaded into the browser.
Returns the resolved color defined in the theme for the specified appearance, property or style name and optionally the state.
Returns: Color. A Color representing the color in the theme.
Returns the resolved theme color from the color list.
Returns: Color. A Color representing the color in the theme.
Returns the resolved font defined in the theme for the specified appearance, property name and optionally the state.
Returns: Font. A Font representing the queried font or null if not found.
Returns the resolved font defined from the font list.
Returns: Font. A Font representing the queried font or null if not found.
Returns the resolved image defined in the theme for the specified appearance, property or style name and optionally the state.
Returns: Image. A Image representing the queried image or null if not found. SVG images at runtime always return null, they are resolved only at design time.
Returns the resolved image defined from the image list.
Returns: Image. A Image representing the queried image or null if not found. SVG images at runtime always return null, they are resolved only at design time.
Returns the size of the inset border and padding.
Returns: Padding. Dimension of the border and optionally the padding as a Padding value
Returns the property value for the specified name and state within the specified appearance key.
Returns: T. The typed value of the requested property, or default(T) if not found.
Returns the style value for the specified name and state within the specified appearance key.
Returns: T. The typed value of the requested style, or default(T) if not found.
Returns true if the color is a theme color.
Returns: Boolean. True if color is a theme color.
Since the theme may also define SystemColors, using IsThemeColor on a system color returns false, but the rendering on the browser will use the color in the theme, if defined.
Returns true if the font is a theme font.
Returns: Boolean. True if font is a theme font.
Theme fonts (font's with the OriginalFontName starting with "@") are always rendered using the definition in the theme for their size and style. However, an application may use a theme font and change the size and style. In this case, the OriginalFontName is the theme name without the "@". If the name of the font (which could be a system name like "Arial") matches a theme font, Wisej will use the theme font but it uses the size and style set by the application.
Returns the resolved Color with the proper RGB values. If the color specified in color is a theme color, the value is resolved from the current theme, otherwise the original color is returned.
Returns: Color. A Color instance with the resolved RGB values.
Returns the resolved Font from the theme font. If the font is a theme font, the value is resolved from current theme.
Returns: Font. A Font instance that can be used directly.
Wisej.Core.ClientBrowser
Namespace: Wisej.Core
Assembly: Wisej.Framework (2.2.0.0)
Properties of the client browser currently interacting with the application.
Name | Type | Description |
---|---|---|
CultureInfo: Returns the locale declared in the application configuration file or detected from the client browser.
String: Device type. Can be one of "Mobile", "Tablet" or "Desktop".
Object: Returns the set of features supported/not-supported by the browser. Currently we detect: geolocation, webSocket, fullScreen, speechSynthesis, speechRecognition, notification, fullScreen, browserStorage.
Boolean: Returns true if the browser is in full screen mode.
Boolean: Returns true if the connection is secure.
String: Client language.
String: Client OS. Can be one of "iOS", "Android", "WebOS", "BlackBerry", "MacOS", "Linux", "Windows", "Unix", "Other".
Double: Returns the ratio of the resolution in physical pixels to the resolution in CSS pixels for the current display device.
Size: Screen size.
Size: Browser size. This is the window size, which can be different from the device (or screen) size.
Int32: Returns the time difference between UTC time and local time, in minutes.
String: Browser type. Can be one of "IE", "Edge", "Chrome", "Opera", "Firefox", "Safari", "Other".
Object: Returns a value or map set by the client when loading the application's first HTML page.
An application can use this property to retrieve a custom value on startup. For example, in Default.html add:
On the server side, you can retrieve the user data use at any time like this:
When used in conjunction with an aspx startup page (Default.aspx) it allows the application to retrieve data passed as a POST request and pass it to the Wisej application.
Int32: Browser version.
Wisej.Core.BrowserStorage
Namespace: Wisej.Core
Assembly: Wisej.Framework (2.2.0.0)
Represents the browser's storage objects.
Removes all the values from the browser's storage.
Returns all the keys in the browser's storage.
Parameter | Type | Description |
---|---|---|
Asynchronously returns all the keys in the browser's storage.
Returns: Task<String[]>. An awaitable Task that represents the asynchronous operation.
Returns the value stored in the browser's storage associated with the specified key .
This method returns the value asynchronously because it waits for the browser to respond.
Throws:
ArgumentNullException The key is null or empty, or callback is null.
Asynchronously returns the value stored in the browser's storage associated with the specified key .
Returns: Task<T>. An awaitable Task that represents the asynchronous operation.
Removes the value associated with the key from the browser's storage.
Stores the specified value in the browser's storage.
Wisej.Core.LocalStorage
Namespace: Wisej.Core
Assembly: Wisej.Framework (2.2.0.0)
Represents the browser's localStorage. Use this class through the instance.
Wisej.Core.HealthCheck
Namespace: Wisej.Core
Assembly: Wisej.Framework (2.2.0.0)
Handler for healthcheck requests sent by load balancers.
Configure the load balancer to use "http://your-server/healthcheck.wx" as the health check URL. You can modify the default healthcheck value either by placing a Healthcheck.json file in the root of your project, or programmatically assigning the values to Wisej.Core.HealthCheck properties. See .
Name | Type | Description |
---|
Wisej.Core.SynchronizedLinkedList<T>
Namespace: Wisej.Core
Assembly: Wisej.Framework (2.2.0.0)
Provides a thread-safe collection that contains objects of a type specified by the generic parameter as elements.
Name | Description |
---|
Initializes a new instance of the class that contains elements copied from the specified collection and has sufficient capacity to accommodate the number of elements copied and uses the specified syncLock object to synchronize its internal operations.
Name | Type | Description |
---|
: Gets the number of elements contained in the thread-safe collection.
Adds a new item at the end of the LinkedList.
Adds a new item after the specified item.
Adds a new item before the specified item.
Adds a new item at the start of the LinkedList.
Removes all items from the collection.
Determines whether the collection contains an element with a specific value.
Copies the elements of the collection to a specified array, starting at a particular index.
Throws:
Retrieves all the elements that match the conditions defined by the specified predicate.
Throws:
Returns an enumerator that iterates through the synchronized collection.
Removes the first occurrence of a specified item from the collection.
Removes all the elements that match the conditions defined by the specified predicate.
Throws:
Wisej.Core.IFileSystemProvider
Namespace: Wisej.Core
Assembly: Wisej.Framework (2.2.0.0)
Abstracts access to the file system. Implementations of this interface are used by the file dialogs and other components that need to interact with the file system. Wisej provides the built-in default implementation for the standard disk-based file system and a number of alternative implementations in the Wisej extensions, such as: Amazon S3, Google Drive, and Microsoft OneDrive.
: Returns or sets the icon that represents the file system.
: Returns or sets the icon name or URL that represents the file system.
: Returns or sets the name of this root. This is the name that should be shown to the user.
: Returns or sets the root path for the file system. All file system operations in the implementation class are expected to be limited to the root.
Creates the specified directory and sub-directories.
Deletes the specified directory and, optionally, sub-directories.
Deletes the specified file.
Returns whether the specified file or directory exists.
Returns the file's creation time.
Returns a list of directory paths that match the pattern and search options in the specified path.
Returns a list of file paths that match the pattern and search options in the specified path.
Returns the size of the file.
Returns the last write timestamp for the specified file.
Opens the specified file for reading or writing.
Renames the specified directory.
Renames the specified file.
Wisej.Core.FileSystemProvider
Namespace: Wisej.Core
Assembly: Wisej.Framework (2.2.0.0)
Default implementation of IFileSystemProvider. Provides access to the server's file system.
Initializes a blank instance of .
Creates a new instance of the class with the specified root and name . The root is added in front of all path arguments passed to all methods in this class.
Name | Type | Description |
---|
The root path is also the current directory path.
Creates the specified directory and sub-directories.
Deletes the specified directory and, optionally, sub-directories.
Deletes the specified file.
Returns whether the specified file or directory exists.
Returns the file's creation time.
Returns a list of directory paths that match the pattern and search options in the specified path.
Returns a list of file paths that match the pattern and search options in the specified path.
Returns the size of the file.
Returns the last write timestamp for the specified file.
Opens the specified file for reading or writing.
Renames the specified directory.
Renames the specified file.
Wisej.Core.SynchronizedList<T>
Namespace: Wisej.Core
Assembly: Wisej.Framework (2.2.0.0)
Provides a thread-safe collection that contains objects of a type specified by the generic parameter as elements.
Name | Description |
---|
Initializes a new instance of the class that contains elements copied from the specified collection and has sufficient capacity to accommodate the number of elements copied and uses the specified syncLock object to synchronize its internal operations.
Name | Type | Description |
---|
Throws:
Adds an item to the thread-safe collection.
Throws:
Throws:
Throws:
Removes all items from the collection.
Determines whether the collection contains an element with a specific value.
Copies the elements of the collection to a specified array, starting at a particular index.
Throws:
Throws:
Retrieves all the elements that match the conditions defined by the specified predicate.
Throws:
Throws:
Throws:
Throws:
Throws:
Throws:
Throws:
Throws:
Throws:
Returns an enumerator that iterates through the synchronized collection.
Returns the index of the first occurrence of a value in the collection.
Inserts an item into the collection at a specified index.
Throws:
Throws:
Removes the first occurrence of a specified item from the collection.
Removes all the elements that match the conditions defined by the specified predicate.
Throws:
Removes an item at a specified index from the collection.
Throws:
Throws:
Throws:
Throws:
Throws:
Computes the sum of the sequence of System.Int32 values that are obtained by invoking a transform function on each element of the list.
Throws:
Computes the sum of the sequence of System.Int64 values that are obtained by invoking a transform function on each element of the list.
Throws:
Computes the sum of the sequence of System.Single values that are obtained by invoking a transform function on each element of the list.
Throws:
Computes the sum of the sequence of System.Double values that are obtained by invoking a transform function on each element of the list.
Throws:
Computes the sum of the sequence of System.Decimal values that are obtained by invoking a transform function on each element of the list.
Throws:
Wisej.Core.SessionStorage
Namespace: Wisej.Core
Assembly: Wisej.Framework (2.2.0.0)
Represents the browser's localStorage. Use this class through the instance.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
: Returns or sets whether the load balancing features are enabled.
: Maximum CPU load in percentage: Default: 100; 0 = unlimited.
: Maximum percentage of allocated memory. Default: 70; 0 = unlimited.
: Maximum number of active sessions: Default: 0; 0 = unlimited.
: Value for the Retry-After header in minutes. Default: 10.
: Http return code to signal that this server is not available. Default: 503.
: Redirection Url in alternative to the error return code. Default: null.
: Gets the object used to synchronize access to the thread-safe collection.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Returns: . true if the element value is found in the collection; otherwise false.
Parameter | Type | Description |
---|
Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire .
Parameter | Type | Description |
---|
Returns: . The first element that matches the conditions defined by the specified predicate, if found; otherwise, the default value.
match is null.
Parameter | Type | Description |
---|
Returns: . A containing all the elements that match the conditions defined by the specified predicate, if found; otherwise, an empty .
match is null.
Parameter | Type | Description |
---|
Returns: . An for objects of the type stored in the collection.
Parameter | Type | Description |
---|
Returns: . true if item was successfully removed from the collection; otherwise, false.
Parameter | Type | Description |
---|
Returns: . The number of elements removed from the .
match is null.
Checks whether the specified path starts with the of this file system provider.
Parameter | Type | Description |
---|
Returns: . True if the specified path starts with the name of this file system provider.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Returns: . True of the file or directory exists.
Returns the for the specified path .
Parameter | Type | Description |
---|
Returns: . An instance of with the relevant flags set.
Parameter | Type | Description |
---|
Returns: . A representing the timestamp of the file creation.
Parameter | Type | Description |
---|
Returns: . A containing the full path of the directories that match the search pattern and search options.
Parameter | Type | Description |
---|
Returns: . A containing the full path of the files that match the search pattern and search options.
Parameter | Type | Description |
---|
Returns: . The size of the file in bytes.
Parameter | Type | Description |
---|
Returns: . A representing the timestamp of the last time the file was written.
Maps the virtual path to the corresponding physical path on the specific implementation.
Parameter | Type | Description |
---|
Returns: . The physical path for the implementation.
Parameter | Type | Description |
---|
Returns: . A that can be used to read or write the content of the file.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Name | Description |
---|
: Returns or sets the icon that represents the file system.
: Returns or sets the icon name or URL that represents the file system.
: Returns or sets the name of this root. This is the name that should be shown to the user.
: Returns or sets the root path for the file system. All file system operations in the implementation class are expected to be limited to the root.
Checks whether the specified path starts with the of this file system provider.
Parameter | Type | Description |
---|
Returns: . True if the specified path starts with the name of this file system provider.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Returns: . True of the file or directory exists.
Returns the for the specified path .
Parameter | Type | Description |
---|
Returns: . An instance of with the relevant flags set.
Parameter | Type | Description |
---|
Returns: . A representing the timestamp of the file creation.
Parameter | Type | Description |
---|
Returns: . A containing the full path of the directories that match the search pattern and search options.
Parameter | Type | Description |
---|
Returns: . A containing the full path of the files that match the search pattern and search options.
Parameter | Type | Description |
---|
Returns: .
Parameter | Type | Description |
---|
Returns: . A representing the timestamp of the last time the file was written.
Maps the virtual path to the corresponding physical path on the specific implementation.
Parameter | Type | Description |
---|
Returns: . The physical path for the implementation.
Parameter | Type | Description |
---|
Returns: . A that can be used to read or write the content of the file.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Name | Description |
---|
: Gets the number of elements contained in the thread-safe collection.
: Gets an element from the thread-safe collection with a specified index.
The index specified is less than zero or greater than the number of items in the collection.
: Gets the object used to synchronize access to the thread-safe collection.
Parameter | Type | Description |
---|
Adds the elements of the specified collection to the end of the .
Parameter | Type | Description |
---|
collection is null.
Searches the entire sorted for an element using the default comparer and returns the zero-based index of the element.
Parameter | Type | Description |
---|
Returns: . The zero-based index of item in the sorted , if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than item or, if there is no larger element, the bitwise complement of .
The default comparer cannot find an implementation of the generic interface or the interface for the type of the collection elements.
Searches the entire sorted for an element using the specified comparer and returns the zero-based index of the element.
Parameter | Type | Description |
---|
Returns: . The zero-based index of item in the sorted , if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than item or, if there is no larger element, the bitwise complement of .
comparer is null, and the default comparer cannot find an implementation of the generic interface or the interface for the type of the collection elements.
Parameter | Type | Description |
---|
Returns: . true if the element value is found in the collection; otherwise false.
Parameter | Type | Description |
---|
Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire .
Parameter | Type | Description |
---|
Returns: . The first element that matches the conditions defined by the specified predicate, if found; otherwise, the default value.
match is null.
Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire .
Parameter | Type | Description |
---|
Returns: . The first element that matches the conditions defined by the specified predicate, if found; otherwise, the default value.
match is null.
startIndex is outside the range of valid indexes for the .
Parameter | Type | Description |
---|
Returns: . A containing all the elements that match the conditions defined by the specified predicate, if found; otherwise, an empty .
match is null.
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire .
Parameter | Type | Description |
---|
Returns: . The zero-based index of the first occurrence of an element that matches the conditions defined by match , if found; otherwise, –1.
match is null.
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the that extends from the specified index to the last element.
Parameter | Type | Description |
---|
Returns: . The zero-based index of the first occurrence of an element that matches the conditions defined by match , if found; otherwise, –1.
match is null.
startIndex is outside the range of valid indexes for the .
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the that starts at the specified index and contains the specified number of elements.
Parameter | Type | Description |
---|
Returns: . The zero-based index of the first occurrence of an element that matches the conditions defined by match , if found; otherwise, –1.
match is null.
startIndex is outside the range of valid indexes for the ; or count is less than 0; or startIndex and count do not specify a valid section in the .
Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire .
Parameter | Type | Description |
---|
Returns: . The last element that matches the conditions defined by the specified predicate, if found; otherwise, the default value.
match is null.
Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire .
Parameter | Type | Description |
---|
Returns: . The last element that matches the conditions defined by the specified predicate, if found; otherwise, the default value.
match is null.
startIndex is outside the range of valid indexes for the .
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire .
Parameter | Type | Description |
---|
Returns: . The zero-based index of the last occurrence of an element that matches the conditions defined by match , if found; otherwise, –1.
match is null.
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the that extends from the specified index to the last element.
Parameter | Type | Description |
---|
Returns: . The zero-based index of the last occurrence of an element that matches the conditions defined by match , if found; otherwise, –1.
match is null.
startIndex is outside the range of valid indexes for the .
Performs the specified action on each element of the .
Parameter | Type | Description |
---|
action is null.
Returns: . An for objects of the type stored in the collection.
Parameter | Type | Description |
---|
Returns: . The zero-based index of the first occurrence of the value in the collection.
Parameter | Type | Description |
---|
The index specified is less than zero or greater than the number of items in the collection.
Inserts the elements of a collection into the at the specified index.
Parameter | Type | Description |
---|
collection is null.
index is less than 0; or index is greater than .
Parameter | Type | Description |
---|
Returns: . true if item was successfully removed from the collection; otherwise, false.
Parameter | Type | Description |
---|
Returns: . The number of elements removed from the .
match is null.
Parameter | Type | Description |
---|
The index specified is less than zero or greater than the number of items in the collection.
Sorts the elements in the entire using the default comparer.
The default comparer cannot find an implementation of the generic interface or the interface for the type of the collection elements.
Sorts the elements in the entire using the specified comparer.
Parameter | Type | Description |
---|
comparer is null, and the default comparer cannot find implementation of the generic interface or the interface for the type of the collection elements.
The implementation of comparer caused an error during the sort. For example, comparer might not return 0 when comparing an item with itself.
Sorts the elements in the entire using the specified .
Parameter | Type | Description |
---|
comparison is null.
The implementation of comparison caused an error during the sort. For example, comparison might not return 0 when comparing an item with itself.
Sorts the elements in the entire using the specified comparer and a related to sort in sync with this collection.
Parameter | Type | Description |
---|
comparer is null, and the default comparer cannot find implementation of the generic interface or the interface for the type of the collection elements.
The implementation of comparer caused an error during the sort. For example, comparer might not return 0 when comparing an item with itself.
Parameter | Type | Description |
---|
Returns: . The sum of the returned values.
selector is null.
Parameter | Type | Description |
---|
Returns: . The sum of the returned values.
selector is null.
Parameter | Type | Description |
---|
Returns: . The sum of the returned values.
selector is null.
Parameter | Type | Description |
---|
Returns: . The sum of the returned values.
selector is null.
Parameter | Type | Description |
---|
Returns: . The sum of the returned values.
selector is null.
Copies the elements of the to a new array.
Returns: . An array containing copies of the elements of the .
Sets the capacity to the actual number of elements in the , if that number is less than a threshold value.
name
Unique name of the theme.
json
JSON definition of the theme.
name
Unique name of the theme.
baseTheme
Original theme to copy into the new theme.
appearance
The appearance path that identifies the component in the theme. Nested appearances can be specified using a forward slash: i.e. window/captionbar.
name
The name of the property or the style value to query.
state
The name of the state to query. It's optional. The default is "default".
name
The name of the color to resolve from the color list.
appearance
The appearance path that identifies the component in the theme. Nested appearances can be specified using a forward slash: i.e. window/captionbar.
name
The name of the property value to query.
state
The name of the state to query. It's optional. The default is "default".
name
appearance
The appearance path that identifies the component in the theme. Nested appearances can be specified using a forward slash: i.e. window/captionbar.
name
The name of the property or the style value to query.
state
The name of the state to query. It's optional. The default is "default".
name
appearance
The name of the appearance in the theme. Child component appearances can be specified using the forward slash, i.e. "button/icon".
state
The state that defines the property. It can omitted, the default state is "default".
includePadding
Whether to include padding in the insets dimension.
T
The Type of the value to retrieve.
appearance
The name of the appearance in the theme. Child component appearances can be specified using the forward slash, i.e. "button/icon".
name
The name of the property to retrieve.
state
The state that defines the property. It can omitted, the default state is "default".
T
The Type of the value to retrieve.
appearance
The name of the appearance in the theme. Child component appearances can be specified using the forward slash, i.e. "button/icon".
name
The name of the property to retrieve.
state
The state that defines the property. It can omitted, the default state is "default".
color
Color to check.
font
Font to check.
color
The Color to resolve to a usable value.
font
The Font to resolve to a usable instance.
Allows an object to serialize itself.
T
Type of the value to retrieve.
key
Key associated with the value to retrieve.
callback
Callback method that receives the value asynchronously.
T
Type of the value to retrieve.
key
Kay associated with the value to retrieve.
key
Kay associate with the value to remove.
T
Type of the value to store.
key
Key associated with the value.
value
Value to store in the browser's storage.
Represents the browser's localStorage. Use this class through the LocalStorage instance.
Represents the browser's localStorage. Use this class through the SessionStorage instance.
Represents the browser's cookie storage. Use this class through the CookieStorage instance.
IsServerAvailable | Custom function placeholder assignable by the application to determine when a server should return that it's not available to receive more sessions. |
item | The element to be added to the collection. |
item | Item to find. |
newItem | New item to insert after item . |
item | Item to find. |
newItem | New item to insert before item . |
item | The element to be added to the collection. |
item | The object to locate in the collection. |
array |
index | The zero-based index in the array at which copying begins. |
match |
match |
action |
item | The object to remove from the collection. |
match |
path | Path of the file to check. |
path | Path of the directory to create. |
path | Path of the directory to delete. |
recursive | Indicates whether to delete sub directories. |
path | Path of the file to delete. |
path | Path of the file or directory to check. |
path |
path | Path of the file to query. |
path | Path to search into. |
pattern | Wild card pattern to match. |
searchOption |
path | Path to search into. |
pattern | Wild card pattern to match. |
searchOption |
path | Path of the file to query. |
path | Path of the file to query. |
path | Virtual path to map to the corresponding physical path. |
path | The path of the file to open. |
mode | Specified if the file should be opened, created, overwritten or truncated. |
access | Specified if the stream should be opened for reading or writing. |
path | Path of the directory to rename. |
newName | The new directory name. |
path | Path of the file to rename. |
newName | The new file name. |
Default implementation of IFileSystemProvider. Provides access to the server's file system. |
path | Path of the file to check. |
path | Path of the directory to create. |
path | Path of the directory to delete. |
recursive | Indicates whether to delete sub directories. |
path | Path of the file to delete. |
path | Path of the file or directory to check. |
path |
path | Path of the file to query. |
path | Path to search into. |
pattern | Wild card pattern to match. |
searchOption |
path | Path to search into. |
pattern | Wild card pattern to match. |
searchOption |
path | Path of the file to query. |
path | Path of the file to query. |
path | Virtual path to map to the corresponding physical path. |
path | The path of the file to open. |
mode | Specified if the file should be opened, created, overwritten or truncated. |
access | Specified if the stream should be opened for reading or writing. |
path | Path of the directory to rename. |
newName | The new directory name. |
path | Path of the file to rename. |
newName | The new file name. |
Abstracts access to the file system. Implementations of this interface are used by the file dialogs and other components that need to interact with the file system. Wisej provides the built-in default implementation for the standard disk-based file system and a number of alternative implementations in the Wisej extensions, such as: Amazon S3, Google Drive, and Microsoft OneDrive. |
item | The element to be added to the collection. |
collection |
item | The object to locate. The value can be null for reference types. |
item | The object to locate. The value can be null for reference types. |
comparer |
item | The object to locate in the collection. |
array |
index | The zero-based index in the array at which copying begins. |
match |
startIndex | The zero-based starting index of the search. |
match |
match |
match |
startIndex | The zero-based starting index of the search. |
match |
startIndex | The zero-based starting index of the search. |
count | The number of elements in the section to search. |
match |
match |
startIndex | The zero-based starting index of the search. |
match |
match |
startIndex | The zero-based starting index of the search. |
match |
action |
item | Removes all items from the collection. |
index | The zero-based index of the element to be retrieved from the collection. |
item | The object to be inserted into the collection as an element. |
index | The zero-based index at which the new elements should be inserted. |
collection |
item | The object to remove from the collection. |
match |
index | The zero-based index of the element to be retrieved from the collection. |
comparer |
comparison |
comparer |
swapCallback | An optional callback method, invoked on every swap. If the callback returns true to indicate that it handled the swap, the default swap is not performed. |
selector | A transform function to apply to each element. |
selector | A transform function to apply to each element. |
selector | A transform function to apply to each element. |
selector | A transform function to apply to each element. |
selector | A transform function to apply to each element. |
name
Unique name of the theme.
CookieStorage
Returns an instance of the CookieStorage class that represents the "cookies" storage in the browser.
LocalStorage
Returns an instance of the LocalStorage class that represents the "localStorage" object in the browser.
SessionStorage
Returns an instance of the SessionStorage class that represents the "sessionStorage" object in the browser.
callback
Callback method that receives each key name asynchronously.
T | The type of object contained as items in the thread-safe collection. |
collection | The optional collection whose elements are copied to the new list. |
syncLock | The optional lock reference. |
root | The root path of this file system. |
name | The name of this file system. |
T | The type of object contained as items in the thread-safe collection. |
capacity | The optional number of element that the list can initially store. |
collection | The optional collection whose elements are copied to the new list. |
syncLock | The optional lock reference. |
Wisej.Core.WisejEventArgs PointerInfo
Namespace: Wisej.Core
Assembly: Wisej.Framework (2.2.0.0)
Pointer information from the event.
MouseButtons: Mouse button.
Boolean: Indicates whether the PointerInfo properties have been initialize or not.
Point: Pointer location.
Keys: Keyboard modifiers.
Int32: Wheel delta.
Wisej.Core.WebMethodAttribute
Namespace: Wisej.Core
Assembly: Wisej.Framework (2.2.0.0)
Indicates that the method can be called from the browser using JavaScript.
You can add this attribute to static methods in your Wisej application Program class and to instance methods in top level containers: Page, Form, and Desktop. If you want to register web methods on child controls, you can, but Wisej only searches top level containers automatically. To register web methods on a child control, extend the control class, override OnWebRender and call RegisterWebMethods.
Initializes the WebMethodAttribute attribute.
Initializes the WebMethodAttribute attribute.
Boolean: Returns a value indicating whether the web method is inherited by derived classes.
Wisej.Core.WisejSerializer
Namespace: Wisej.Core
Assembly: Wisej.Framework (2.2.0.0)
Wisej super performant JSON serializer. This is a high performant and low memory footprint JSON serializer/deserializer. It has been optimized to work with Wisej DynamicObject and to streamline serialization/deserialization. It appears to be the fastest JSON serializer/deserializer using the least memory.
Deserializes a JSON string to a System.Wisej.Core.DynamicObject.
Parameter | Type | Description |
---|---|---|
Returns: Object. A DynamicObject representing the JSON data.
Deserializes a JSON stream to a System.Wisej.Core.DynamicObject.
Parameter | Type | Description |
---|---|---|
Returns: Object. A DynamicObject representing the JSON data.
Serializes an object to standard JSON.
Returns: String. The JSON representation of value .
Returns the correct string representation for value .
Returns: String. The correct string representation for value .
Wisej.Core.IEventFilter
Namespace: Wisej.Core
Assembly: Wisej.Framework (2.2.0.0)
Defines the event filter interface to use with the AddEventFilter method.
Process an event before it is dispatched.
Parameter | Type | Description |
---|---|---|
Returns: Boolean. true to stop the event from being dispatched; false to allow the event to continue to the next filter or control.
Wisej.Core.WisejEventArgs
Namespace: Wisej.Core
Assembly: Wisej.Framework (2.2.0.0)
Default arguments for Wisej events.
Creates a new instance of WidgetEventArgs.
Name | Type | Description |
---|---|---|
Creates a new instance of WisejEventArgs using the incoming event data.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Wisej.Core.WisejEventArgs KeyboardInfo
Namespace: Wisej.Core
Assembly: Wisej.Framework (2.2.0.0)
Keyboard informs from the event.
Boolean: Indicates whether the KeyboardInfo properties have been initialize or not.
Keys: Pressed key.
Keys: Pressed key with modifier.
Int32: Raw pressed key code.
Keys: Keyboard lock keys.
Keys: Keyboard modifiers.
Wisej.Core.WisejResourcesAttribute
Namespace: Wisej.Core
Assembly: Wisej.Framework (2.2.0.0)
Enables automatic resource loading form the assembly.
Initializes a new instance of WisejResourcesAttribute.
Initializes a new instance of WisejResourcesAttribute using the initialization arguments.
Name | Type | Description |
---|---|---|
Initializes a new instance of WisejResourcesAttribute using the initialization arguments.
Name | Type | Description |
---|---|---|
String: List of embedded resource files that are excluded from the bundled js and css in wisej.js and wisej.css.
String: Default namespace name, or root name of the embedded resources.
Returns the WisejResourcesAttribute assigned to the specified assembly .
Returns: WisejResourcesAttribute. The instance of the WisejResourcesAttribute assigned to the assembly or null.
The destination for the elements copied from the collection.
The delegate that defines the conditions of the element to search for.
The delegate that defines the conditions of the elements to search for.
The delegate that defines the conditions of the elements to remove.
File path for which to retrieve the .
One of the options.
One of the options.
File path for which to retrieve the .
One of the options.
One of the options.
The collection whose elements should be added to the end of the . The collection itself cannot be null, but it can contain elements that are null, for reference types.
The implementation to use when comparing elements; or null to use the default comparer .
The destination for the elements copied from the collection.
The delegate that defines the conditions of the element to search for.
The delegate that defines the conditions of the element to search for.
The delegate that defines the conditions of the elements to search for.
The delegate that defines the conditions of the element to search for.
The delegate that defines the conditions of the element to search for.
The delegate that defines the conditions of the element to search for.
The delegate that defines the conditions of the element to search for.
The delegate that defines the conditions of the element to search for.
The delegate that defines the conditions of the element to search for.
The delegate that defines the conditions of the element to search for.
The delegate to perform on each element of the .
The collection whose elements should be inserted into the . The collection itself cannot be null, but it can contain elements that are null, for reference types.
The delegate that defines the conditions of the elements to remove.
The implementation to use when comparing elements, or null to use the default comparer .
The to use when comparing elements.
The implementation to use when comparing elements, or null to use the default comparer .
Name | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
inheritable
Indicates whether the web method is inherited by derived classes.
value
Value to serialize to JSON.
options
Serializer options.
value
Value to convert to a string.
CamelCase
The names of the fields are serialized using camel casing: first char is lowercase (default).
Formatted
The output JSON string is pretty.
IgnoreDefaults
Default values are not serialized.
IgnoreNulls
Null values are not serialized.
None
No options.
PreserveDecimal
Serializes a double/float/decimal 0 to 0.0.
UseOptionsAttribute
Use the WisejSerializerOptionsAttribute assigned to the class or object being serialized.
Serializes the object to a JSON string.
Serializes the object to a JSON string.
Serialize the object in JSON format.
Serializes an object to standard JSON.
assembly
The assembly for which to retrieve the WisejResourcesAttribute.
json
The JSON source string.
stream
The JSON source stream.
e
An instance of WisejEventArgs containing the data for the event.
target
The target component.
type
The event type.
args
Event arguments.
e
The event data received from the client.
Keyboard
Keyboard information.
OriginalTarget
Returns the original target of the event.
Parameters
Event parameters.
Pointer
Pointer information.
Role
The "role" attribute of the clicked element.
Target
Target component.
Type
Event type.
ExcludeList
List of resource files to exclude.
ExcludeList
List of resource files to exclude.
RootName
Default namespace. If left null, it uses the assembly name.
Wisej.Core.MimeTypes
Namespace: Wisej.Core
Assembly: Wisej.Framework (2.2.0.0)
Maps document extensions to content MIME types.
Returns the MIME mapping for the specified file name.
Parameter | Type | Description |
---|---|---|
Returns: String.
Returns if the file extension corresponds to a known mime type.
Parameter | Type | Description |
---|---|---|
Returns: Boolean.
Adds or changes the mime type for the specified file extension.
Parameter | Type | Description |
---|---|---|
extension
The file extension to add to the mime type list.
mimeType
The mime type to add to the mime type list.
fileName
The file name that is used to determine the MIME type.
extension
The file extension to check.