C# 클래스 Simplify.Web.Modules.Data.DataCollector

Provides master page data collector
상속: IDataCollector
파일 보기 프로젝트 열기: i4004/Simplify.Web 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

Add() 공개 메소드

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

Add() 공개 메소드

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

Add() 공개 메소드

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.
리턴 void

Add() 공개 메소드

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
리턴 void

AddSt() 공개 메소드

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

AddSt() 공개 메소드

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
리턴 void

AddTitle() 공개 메소드

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

AddTitleSt() 공개 메소드

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

DataCollector() 공개 메소드

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.
리턴 System.Collections.Generic

IsDataExist() 공개 메소드

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

this() 공개 메소드

List of data collector items
public this ( string key ) : string
key string Item name
리턴 string