Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.TokenSettings Class Reference

More...

Static Public Attributes

const string ID_PATTERN = @"#\{ *([\w\.]+?) *\}"
 ID token pattern, allowing whitespaces between the brackets and IDs (spaces ignored/stripped from match). More...
 
const string SELECT_PATTERN = @"\${ *([^{}]+) *}"
 Select token pattern, accepting any number of leading or trailing spaces (trimmed out). More...
 
const string MARKERS_PATTERN = @"^<.+?>"
 

Properties

bool Disable [get, set]
 True to disable any parsing More...
 
bool DisableDuringDirectEvent [get, set]
 True to disable any parsing during ajax requests only More...
 
bool IDParsingDisable [get, set]
 True to disable ID parsing - #{ID} ID parsing transforms ID to ClientID, if widget with required id is not found then we assume that it is select token More...
 
bool SelectParsingDisable [get, set]
 True to disable select parsing - ${ID} Select parsing transforms passed ID to Ext.get(ID) - client side search of DOM element More...
 
bool DirectMethodsParsingDisable [get, set]
 True to disable direct methods parsing This parsing transforms #{DirectMethods} marker to current direct method namespace More...
 
bool AlertParsingDisable [get, set]
 True to disable alert parsing Alert parsing transforms !{title} to alert calling More...
 
bool FunctionParsingDisable [get, set]
 True to disable function parsing Function parsing transforms #(js_code) to function(){js_code} More...
 
string IDPatternPrefix [get, set]
 Regex pattern to search ID tokens By default, ID token is #{ID} and default prefix is # Allows matching #{ ID } as well (any spaces at begin ando/or end). More...
 
string SelectPatternPrefix [get, set]
 Regex pattern to search select tokens By default, ID token is ${ID} and default prefix is $ More...
 
string DirectMethodsPattern [get, set]
 Regex pattern to search direct methods tokens Default pattern is #{DirectMethods} More...
 
string RawPrefix [get, set]
 By default, ={} is raw token = is defualt raw prefix More...
 
string RawMarker [get, set]
 If property values starts with <raw> then such value is rendered as raw More...
 
string AlertPrefix [get, set]
 By default, !{} is alert token ! is defualt alert prefix More...
 
string FunctionPrefix [get, set]
 By default, #() is function token More...
 

Detailed Description

Member Data Documentation

◆ ID_PATTERN

const string Ext.Net.TokenSettings.ID_PATTERN = @"#\{ *([\w\.]+?) *\}"
static

ID token pattern, allowing whitespaces between the brackets and IDs (spaces ignored/stripped from match).

◆ MARKERS_PATTERN

const string Ext.Net.TokenSettings.MARKERS_PATTERN = @"^<.+?>"
static

◆ SELECT_PATTERN

const string Ext.Net.TokenSettings.SELECT_PATTERN = @"\${ *([^{}]+) *}"
static

Select token pattern, accepting any number of leading or trailing spaces (trimmed out).

Property Documentation

◆ AlertParsingDisable

bool Ext.Net.TokenSettings.AlertParsingDisable
getset

True to disable alert parsing Alert parsing transforms !{title} to alert calling

◆ AlertPrefix

string Ext.Net.TokenSettings.AlertPrefix
getset

By default, !{} is alert token ! is defualt alert prefix

◆ DirectMethodsParsingDisable

bool Ext.Net.TokenSettings.DirectMethodsParsingDisable
getset

True to disable direct methods parsing This parsing transforms #{DirectMethods} marker to current direct method namespace

◆ DirectMethodsPattern

string Ext.Net.TokenSettings.DirectMethodsPattern
getset

Regex pattern to search direct methods tokens Default pattern is #{DirectMethods}

◆ Disable

bool Ext.Net.TokenSettings.Disable
getset

True to disable any parsing

◆ DisableDuringDirectEvent

bool Ext.Net.TokenSettings.DisableDuringDirectEvent
getset

True to disable any parsing during ajax requests only

◆ FunctionParsingDisable

bool Ext.Net.TokenSettings.FunctionParsingDisable
getset

True to disable function parsing Function parsing transforms #(js_code) to function(){js_code}

◆ FunctionPrefix

string Ext.Net.TokenSettings.FunctionPrefix
getset

By default, #() is function token

is defualt function prefix

◆ IDParsingDisable

bool Ext.Net.TokenSettings.IDParsingDisable
getset

True to disable ID parsing - #{ID} ID parsing transforms ID to ClientID, if widget with required id is not found then we assume that it is select token

◆ IDPatternPrefix

string Ext.Net.TokenSettings.IDPatternPrefix
getset

Regex pattern to search ID tokens By default, ID token is #{ID} and default prefix is # Allows matching #{ ID } as well (any spaces at begin ando/or end).

◆ RawMarker

string Ext.Net.TokenSettings.RawMarker
getset

If property values starts with <raw> then such value is rendered as raw

◆ RawPrefix

string Ext.Net.TokenSettings.RawPrefix
getset

By default, ={} is raw token = is defualt raw prefix

◆ SelectParsingDisable

bool Ext.Net.TokenSettings.SelectParsingDisable
getset

True to disable select parsing - ${ID} Select parsing transforms passed ID to Ext.get(ID) - client side search of DOM element

◆ SelectPatternPrefix

string Ext.Net.TokenSettings.SelectPatternPrefix
getset

Regex pattern to search select tokens By default, ID token is ${ID} and default prefix is $


The documentation for this class was generated from the following file: