Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.XmlReader.Builder< TXmlReader, TBuilder > Class Template Reference

More...

Inheritance diagram for Ext.Net.XmlReader.Builder< TXmlReader, TBuilder >:
Ext.Net.AbstractReader.Builder< TXmlReader, TBuilder >

Public Member Functions

 Builder (TXmlReader component)
 
virtual TBuilder Record (string record)
 The DomQuery path to the repeated element which contains record information. More...
 
 Builder ()
 
 Builder (XmlReader component)
 
 Builder (XmlReader.Config config)
 
- Public Member Functions inherited from Ext.Net.AbstractReader.Builder< TXmlReader, TBuilder >
 Builder (TAbstractReader component)
 
virtual TBuilder GroupRootProperty (string groupRootProperty)
 Name of the property from which to retrieve remote grouping summary information. More...
 
virtual TBuilder IDProperty (string iDProperty)
 Name of the property within a row object that contains a record identifier value. Defaults to The id of the model. If an idProperty is explicitly specified it will override that of the one specified on the model More...
 
virtual TBuilder ImplicitIncludes (bool implicitIncludes)
 True to automatically parse models nested within other models in a response object. See the Ext.data.reader.Reader intro docs for full explanation. Defaults to true. More...
 
virtual TBuilder KeepRawData (bool? keepRawData)
 
virtual TBuilder ReadRecordsOnFailure (bool readRecordsOnFailure)
 True to read extract the records from a data packet even if the success property returns false. Defaults to: true More...
 
virtual TBuilder RootProperty (string rootProperty)
 The name of the property which contains the Array of row objects. For JSON reader it's dot-separated list of property names. For XML reader it's a CSS selector. For array reader it's not applicable. More...
 
virtual TBuilder SuccessProperty (string successProperty)
 Name of the property from which to retrieve the success attribute. Defaults to success. See Ext.data.proxy.Proxy.exception for additional information. More...
 
virtual TBuilder SummaryRootProperty (string summaryRootProperty)
 Name of the property from which to retrieve remote summary information. More...
 
virtual TBuilder TotalProperty (string totalProperty)
 Name of the property from which to retrieve the total number of records in the dataset. This is only needed if the whole dataset is not passed in one go, but is being paged from the remote server. Defaults to total. More...
 
virtual TBuilder Transform (Action< TransformFunction > action)
 If a transform function is set, it will be invoked just before readRecords executes. It is passed the raw (deserialized) data object. The transform function returns a data object, which can be a modified version of the original data object, or a completely new data object. The transform can be a function, or an object with a 'fn' key and an optional 'scope' key. More...
 
virtual TBuilder TypeProperty (string typeProperty)
 The name of the property in a node raw data block which indicates the type of the model to be created from that raw data. Useful for heterogenous trees. More...
 
virtual TBuilder MessageProperty (string messageProperty)
 The name of the property which contains a response message for exception handling. More...
 
virtual TBuilder MessagePropertyFn (JFunction messagePropertyFn)
 The name of the property which contains a response message for exception handling. More...
 
virtual TBuilder ModelName (string modelName)
 The Ext.data.Model associated with this reader More...
 
virtual TBuilder SetGroupRootProperty (string groupRootProperty)
 
virtual TBuilder SetSummaryRootProperty (string summaryRootProperty)
 
virtual TBuilder SetMessageProperty (string messageProperty)
 
virtual TBuilder SetMessageProperty (JFunction messageProperty)
 

Static Public Member Functions

static implicit operator Builder (XmlReader component)
 

Detailed Description

Type Constraints
TXmlReader :XmlReader 
TBuilder :Builder 
TBuilder :TXmlReader 
TBuilder :TBuilder 

Constructor & Destructor Documentation

◆ Builder() [1/4]

Ext.Net.XmlReader.Builder< TXmlReader, TBuilder >.Builder ( TXmlReader  component)
inline

◆ Builder() [2/4]

Ext.Net.XmlReader.Builder< TXmlReader, TBuilder >.Builder ( )
inline

◆ Builder() [3/4]

Ext.Net.XmlReader.Builder< TXmlReader, TBuilder >.Builder ( XmlReader  component)
inline

◆ Builder() [4/4]

Ext.Net.XmlReader.Builder< TXmlReader, TBuilder >.Builder ( XmlReader.Config  config)
inline

Member Function Documentation

◆ operator Builder()

static implicit Ext.Net.XmlReader.Builder< TXmlReader, TBuilder >.operator Builder ( XmlReader  component)
inlinestatic

◆ Record()

virtual TBuilder Ext.Net.XmlReader.Builder< TXmlReader, TBuilder >.Record ( string  record)
inlinevirtual

The DomQuery path to the repeated element which contains record information.


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