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

More...

Inheritance diagram for Ext.Net.App.Builder< TApp, TBuilder >:
Ext.Net.XControllerBase.Builder< TApp, TBuilder >

Public Member Functions

 Builder (TApp component)
 
virtual TBuilder Launch (Action< ItemsCollection< Observable >> action)
 
virtual TBuilder AppFolder (string appFolder)
 The path to the directory which contains all application's classes. This path will be registered via Ext.Loader.setPath for the namespace specified in the name config. More...
 
virtual TBuilder AppProperty (string appProperty)
 The name of a property to be assigned to the main namespace to gain a reference to this application. Can be set to an empty value to prevent the reference from being created More...
 
virtual TBuilder AutoCreateViewport (bool autoCreateViewport)
 True to automatically load and instantiate AppName.view.Viewport before firing the launch function. Defaults to: false More...
 
virtual TBuilder Controllers (string[] controllers)
 Names of controllers that the app uses. More...
 
virtual TBuilder DefaultToken (string defaultToken)
 The default token to be used at application launch if one is not present. Often this is set to something like 'home'. Defaults to: null. More...
 
virtual TBuilder GlyphFontFamily (string glyphFontFamily)
 The glyphFontFamily to use for this application. Used as the default font-family for all components that support a glyph config. More...
 
virtual TBuilder Namespaces (string[] namespaces)
 The list of namespace prefixes used in the application to resolve dependencies like Views and Stores More...
 
virtual TBuilder LaunchHandler (string launchHandler)
 Called automatically when the page has completely loaded. More...
 
virtual TBuilder Paths (Action< ParameterCollection > action)
 Additional load paths to add to Ext.Loader. See Ext.Loader.paths config for more details. More...
 
virtual TBuilder Name (string name)
 The name of your application. This will also be the namespace for your views, controllers models and stores. Don't use spaces or special characters in the name. More...
 
virtual TBuilder Scope (string scope)
 The scope to execute the launch function in. Defaults to the Application instance. More...
 
 Builder ()
 
 Builder (App component)
 
 Builder (App.Config config)
 
- Public Member Functions inherited from Ext.Net.XControllerBase.Builder< TApp, TBuilder >
 Builder (TXControllerBase component)
 
virtual TBuilder ModelNames (string[] modelNames)
 Array of models to require from AppName.model namespace. More...
 
virtual TBuilder Models (Action< ItemsCollection< Model >> action)
 
virtual TBuilder StoreNames (string[] storeNames)
 Array of stores to require from AppName.store namespace and to generate getter methods for. More...
 
virtual TBuilder Stores (Action< ItemsCollection< AbstractStore >> action)
 
virtual TBuilder Refs (Action< List< AppRef >> action)
 
virtual TBuilder ViewNames (string[] viewNames)
 Array of views to require from AppName.view namespace and to generate getter methods for. More...
 

Static Public Member Functions

static implicit operator Builder (App component)
 

Detailed Description

Type Constraints
TApp :App 
TBuilder :Builder 
TBuilder :TApp 
TBuilder :TBuilder 

Constructor & Destructor Documentation

◆ Builder() [1/4]

Ext.Net.App.Builder< TApp, TBuilder >.Builder ( TApp  component)
inline

◆ Builder() [2/4]

Ext.Net.App.Builder< TApp, TBuilder >.Builder ( )
inline

◆ Builder() [3/4]

Ext.Net.App.Builder< TApp, TBuilder >.Builder ( App  component)
inline

◆ Builder() [4/4]

Ext.Net.App.Builder< TApp, TBuilder >.Builder ( App.Config  config)
inline

Member Function Documentation

◆ AppFolder()

virtual TBuilder Ext.Net.App.Builder< TApp, TBuilder >.AppFolder ( string  appFolder)
inlinevirtual

The path to the directory which contains all application's classes. This path will be registered via Ext.Loader.setPath for the namespace specified in the name config.

◆ AppProperty()

virtual TBuilder Ext.Net.App.Builder< TApp, TBuilder >.AppProperty ( string  appProperty)
inlinevirtual

The name of a property to be assigned to the main namespace to gain a reference to this application. Can be set to an empty value to prevent the reference from being created

◆ AutoCreateViewport()

virtual TBuilder Ext.Net.App.Builder< TApp, TBuilder >.AutoCreateViewport ( bool  autoCreateViewport)
inlinevirtual

True to automatically load and instantiate AppName.view.Viewport before firing the launch function. Defaults to: false

◆ Controllers()

virtual TBuilder Ext.Net.App.Builder< TApp, TBuilder >.Controllers ( string[]  controllers)
inlinevirtual

Names of controllers that the app uses.

◆ DefaultToken()

virtual TBuilder Ext.Net.App.Builder< TApp, TBuilder >.DefaultToken ( string  defaultToken)
inlinevirtual

The default token to be used at application launch if one is not present. Often this is set to something like 'home'. Defaults to: null.

◆ GlyphFontFamily()

virtual TBuilder Ext.Net.App.Builder< TApp, TBuilder >.GlyphFontFamily ( string  glyphFontFamily)
inlinevirtual

The glyphFontFamily to use for this application. Used as the default font-family for all components that support a glyph config.

◆ Launch()

virtual TBuilder Ext.Net.App.Builder< TApp, TBuilder >.Launch ( Action< ItemsCollection< Observable >>  action)
inlinevirtual

Parameters
actionThe action delegate
Returns
An instance of TBuilder

◆ LaunchHandler()

virtual TBuilder Ext.Net.App.Builder< TApp, TBuilder >.LaunchHandler ( string  launchHandler)
inlinevirtual

Called automatically when the page has completely loaded.

◆ Name()

virtual TBuilder Ext.Net.App.Builder< TApp, TBuilder >.Name ( string  name)
inlinevirtual

The name of your application. This will also be the namespace for your views, controllers models and stores. Don't use spaces or special characters in the name.

Reimplemented from Ext.Net.XControllerBase.Builder< TApp, TBuilder >.

◆ Namespaces()

virtual TBuilder Ext.Net.App.Builder< TApp, TBuilder >.Namespaces ( string[]  namespaces)
inlinevirtual

The list of namespace prefixes used in the application to resolve dependencies like Views and Stores

◆ operator Builder()

static implicit Ext.Net.App.Builder< TApp, TBuilder >.operator Builder ( App  component)
inlinestatic

◆ Paths()

virtual TBuilder Ext.Net.App.Builder< TApp, TBuilder >.Paths ( Action< ParameterCollection action)
inlinevirtual

Additional load paths to add to Ext.Loader. See Ext.Loader.paths config for more details.

Parameters
actionThe action delegate
Returns
An instance of TBuilder

◆ Scope()

virtual TBuilder Ext.Net.App.Builder< TApp, TBuilder >.Scope ( string  scope)
inlinevirtual

The scope to execute the launch function in. Defaults to the Application instance.


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