C# Класс Fluqi.Core.Methods

Models methods that can be applied to a jQuery UI control.
Наследование: Options
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_ID string
_PlugInName string
_Writer System.IO.TextWriter

Открытые методы

Метод Описание
Methods ( Interfaces ictl ) : System

Constructor.

Защищенные методы

Метод Описание
AddQuotesToDate ( string dateValue ) : bool

Works out what type of date value or object is being passed in (i.e. is a string date like "01/01/2000", a numerical date value like "3" for 3 days, or a relateive date specification like "+1w -1d" where some of them need quotes, but other don't.

BuildMethodCall ( string methodName ) : string

Builds up the JavaScript required to call a given method.

RenderGetOptionCall ( string optionName ) : void

Writes the JavaScript required to do a "Get" against a control option.

RenderMethodCall ( string methodName ) : void

Writes the JavaScript required to call a given method on the jQuery UI control.

RenderSetOptionCall ( string optionName, System.DateTime newValue ) : void

Writes the JavaScript required to do a "Set" against a control option.

RenderSetOptionCall ( string optionName, bool newValue ) : void

Writes the JavaScript required to do a "Set" against a control option.

RenderSetOptionCall ( string optionName, int newValue ) : void

Writes the JavaScript required to do a "Set" against a control option.

RenderSetOptionCall ( string optionName, string newValue ) : void

Writes the JavaScript required to do a "Set" against a control option.

RenderSetOptionCall ( string optionName, string newValue, bool inDoubleQuotes ) : void

Writes the JavaScript required to do a "Set" against a control option.

Описание методов

AddQuotesToDate() защищенный Метод

Works out what type of date value or object is being passed in (i.e. is a string date like "01/01/2000", a numerical date value like "3" for 3 days, or a relateive date specification like "+1w -1d" where some of them need quotes, but other don't.
protected AddQuotesToDate ( string dateValue ) : bool
dateValue string Value to be queried
Результат bool

BuildMethodCall() защищенный Метод

Builds up the JavaScript required to call a given method.
protected BuildMethodCall ( string methodName ) : string
methodName string Name of the method to call (as define in the jQuery UI documentation for the control.
Результат string

Methods() публичный Метод

Constructor.
public Methods ( Interfaces ictl ) : System
ictl Interfaces Control methods are being defined for
Результат System

RenderGetOptionCall() защищенный Метод

Writes the JavaScript required to do a "Get" against a control option.
protected RenderGetOptionCall ( string optionName ) : void
optionName string Name of the option to get the value of
Результат void

RenderMethodCall() защищенный Метод

Writes the JavaScript required to call a given method on the jQuery UI control.
protected RenderMethodCall ( string methodName ) : void
methodName string Name of the method to call (as define in the jQuery UI documentation for the control.
Результат void

RenderSetOptionCall() защищенный Метод

Writes the JavaScript required to do a "Set" against a control option.
protected RenderSetOptionCall ( string optionName, System.DateTime newValue ) : void
optionName string Name of the option to get the value of
newValue System.DateTime New value for the control option.
Результат void

RenderSetOptionCall() защищенный Метод

Writes the JavaScript required to do a "Set" against a control option.
protected RenderSetOptionCall ( string optionName, bool newValue ) : void
optionName string Name of the option to get the value of
newValue bool New value for the control option.
Результат void

RenderSetOptionCall() защищенный Метод

Writes the JavaScript required to do a "Set" against a control option.
protected RenderSetOptionCall ( string optionName, int newValue ) : void
optionName string Name of the option to get the value of
newValue int New value for the control option.
Результат void

RenderSetOptionCall() защищенный Метод

Writes the JavaScript required to do a "Set" against a control option.
protected RenderSetOptionCall ( string optionName, string newValue ) : void
optionName string Name of the option to get the value of
newValue string New value for the control option.
Результат void

RenderSetOptionCall() защищенный Метод

Writes the JavaScript required to do a "Set" against a control option.
protected RenderSetOptionCall ( string optionName, string newValue, bool inDoubleQuotes ) : void
optionName string Name of the option to get the value of
newValue string New value for the control option.
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Результат void

Описание свойств

_ID защищенное свойство

ID of the control.
protected string _ID
Результат string

_PlugInName защищенное свойство

Name of the plugin.
protected string _PlugInName
Результат string

_Writer защищенное свойство

Object the control should write itself to.
protected TextWriter,System.IO _Writer
Результат System.IO.TextWriter