C# Class Simplify.Web.Modules.Data.DataCollector

Provides master page data collector
Inheritance: IDataCollector
Afficher le fichier Open project: i4004/Simplify.Web Class Usage Examples

Méthodes publiques

Méthode Description
Add ( ITemplate template ) : void

Set template main content variable value with data from template (all occurrences will be replaced)

Add ( string value ) : void

Set template main content variable value (all occurrences will be replaced)

Add ( string variableName, ITemplate template ) : void

Set template variable value with data from template (all occurrences will be replaced)

Add ( string variableName, string value ) : void

Set template variable value (all occurrences will be replaced)

AddSt ( string stringTableKey ) : void

Set template main content variable value from StringTable (all occurrences will be replaced)

AddSt ( string variableName, string stringTableKey ) : void

Set template variable value from StringTable (all occurrences will be replaced)

AddTitle ( string value ) : void

Set template title variable value (all occurrences will be replaced)

AddTitleSt ( string stringTableKey ) : void

Set template title variable value from StringTable (all occurrences will be replaced)

DataCollector ( string mainContentVariableName, string titleVariableName, IStringTable stringTable ) : System.Collections.Generic

Initializes a new instance of the DataCollector class.

IsDataExist ( string variableName ) : bool

Checking if some variable data is already exist in a data collector

this ( string key ) : string

List of data collector items

Method Details

Add() public méthode

Set template main content variable value with data from template (all occurrences will be replaced)
public Add ( ITemplate template ) : void
template ITemplate The template.
Résultat void

Add() public méthode

Set template main content variable value (all occurrences will be replaced)
public Add ( string value ) : void
value string Value to set
Résultat void

Add() public méthode

Set template variable value with data from template (all occurrences will be replaced)
public Add ( string variableName, ITemplate template ) : void
variableName string Variable name in master template file
template ITemplate The template.
Résultat void

Add() public méthode

Set template variable value (all occurrences will be replaced)
public Add ( string variableName, string value ) : void
variableName string Variable name in master template file
value string Value to set
Résultat void

AddSt() public méthode

Set template main content variable value from StringTable (all occurrences will be replaced)
public AddSt ( string stringTableKey ) : void
stringTableKey string StringTable key
Résultat void

AddSt() public méthode

Set template variable value from StringTable (all occurrences will be replaced)
public AddSt ( string variableName, string stringTableKey ) : void
variableName string Variable name in master template file
stringTableKey string StringTable key
Résultat void

AddTitle() public méthode

Set template title variable value (all occurrences will be replaced)
public AddTitle ( string value ) : void
value string Value to set
Résultat void

AddTitleSt() public méthode

Set template title variable value from StringTable (all occurrences will be replaced)
public AddTitleSt ( string stringTableKey ) : void
stringTableKey string StringTable key
Résultat void

DataCollector() public méthode

Initializes a new instance of the DataCollector class.
public DataCollector ( string mainContentVariableName, string titleVariableName, IStringTable stringTable ) : System.Collections.Generic
mainContentVariableName string Name of the main content variable.
titleVariableName string Name of the title variable.
stringTable IStringTable The string table.
Résultat System.Collections.Generic

IsDataExist() public méthode

Checking if some variable data is already exist in a data collector
public IsDataExist ( string variableName ) : bool
variableName string Variable name
Résultat bool

this() public méthode

List of data collector items
public this ( string key ) : string
key string Item name
Résultat string