C# Class Serenity.Q.Externals

Exibir arquivo Open project: volkanceylan/Serenity

Public Methods

Method Description
FormatISODateTimeUTC ( System.JsDate date ) : string
FormatNumber ( double number, string format, string dec, string group ) : string

External format number method, using a simplified version of jQuery.NumberFormatter.js

https://code.google.com/p/jquery-numberformatter/

ParseDate ( string value ) : JsDate
ParseDecimal ( string value ) : Double
ParseISODateTime ( string value ) : JsDate
ParseQueryString ( ) : string>.JsDictionary
PostToService ( PostToServiceOptions options ) : void
PostToUrl ( PostToUrlOptions options ) : void
ToId ( object value ) : Int64?

Converts a numeric or string value to its ID representation (integer or string for large numbers)

TurkishLocaleCompare ( string a, string b ) : int
TurkishLocaleToUpper ( string a ) : string
ValidateOptions ( jQueryValidatorOptions options ) : jQueryValidatorOptions
ValidatorAbortHandler ( jQueryValidator validator ) : void

Private Methods

Method Description
AlertDialog ( string message, AlertOptions options ) : void
ConfirmDialog ( string message, System.Action onYes, ConfirmOptions options ) : void
IFrameDialog ( dynamic options ) : void
StripDiacritics ( string input ) : string

Method Details

FormatISODateTimeUTC() public static method

public static FormatISODateTimeUTC ( System.JsDate date ) : string
date System.JsDate
return string

FormatNumber() public static method

External format number method, using a simplified version of jQuery.NumberFormatter.js
https://code.google.com/p/jquery-numberformatter/
public static FormatNumber ( double number, string format, string dec, string group ) : string
number double
format string
dec string
group string
return string

ParseDate() public static method

public static ParseDate ( string value ) : JsDate
value string
return JsDate

ParseDecimal() public static method

public static ParseDecimal ( string value ) : Double
value string
return Double

ParseISODateTime() public static method

public static ParseISODateTime ( string value ) : JsDate
value string
return JsDate

ParseQueryString() public static method

public static ParseQueryString ( ) : string>.JsDictionary
return string>.JsDictionary

PostToService() public static method

public static PostToService ( PostToServiceOptions options ) : void
options PostToServiceOptions
return void

PostToUrl() public static method

public static PostToUrl ( PostToUrlOptions options ) : void
options PostToUrlOptions
return void

ToId() public static method

Converts a numeric or string value to its ID representation (integer or string for large numbers)
public static ToId ( object value ) : Int64?
value object
return Int64?

TurkishLocaleCompare() public static method

public static TurkishLocaleCompare ( string a, string b ) : int
a string
b string
return int

TurkishLocaleToUpper() public static method

public static TurkishLocaleToUpper ( string a ) : string
a string
return string

ValidateOptions() public static method

public static ValidateOptions ( jQueryValidatorOptions options ) : jQueryValidatorOptions
options jQueryValidatorOptions
return jQueryValidatorOptions

ValidatorAbortHandler() public static method

public static ValidatorAbortHandler ( jQueryValidator validator ) : void
validator jQueryValidator
return void