C# Class SenseNet.ContentRepository.TemplateManager

Mostrar archivo Open project: maxpavlov/FlexNet Class Usage Examples

Public Properties

Property Type Description
TEMPLATE_PATTERN_FORMAT string

Private Properties

Property Type Description
CollectTemplateReplacers TemplateReplacerBase>.Dictionary
DiscoverTemplateReplacers Dictionary>
ReplaceTemplates string

Public Methods

Method Description
GetProperty ( GenericContent content, string propertyName ) : string
GetProperty ( Node node, string propertyName ) : string
Init ( ) : void
Replace ( Type replacerBaseType, string text ) : string
Replace ( Type replacerBaseType, string text, object parameters ) : string
Replace ( string replacerBaseType, string text ) : string
Replace ( string replacerBaseType, string text, object parameters ) : string

Private Methods

Method Description
CollectTemplateReplacers ( Type replacerBaseType ) : TemplateReplacerBase>.Dictionary
DiscoverTemplateReplacers ( ) : Dictionary>
ReplaceTemplates ( string patternFormat, TemplateReplacerBase>.Dictionary replacers, string queryText, object parameters ) : string

Method Details

GetProperty() public static method

public static GetProperty ( GenericContent content, string propertyName ) : string
content GenericContent
propertyName string
return string

GetProperty() public static method

public static GetProperty ( Node node, string propertyName ) : string
node Node
propertyName string
return string

Init() public static method

public static Init ( ) : void
return void

Replace() public static method

public static Replace ( Type replacerBaseType, string text ) : string
replacerBaseType System.Type
text string
return string

Replace() public static method

public static Replace ( Type replacerBaseType, string text, object parameters ) : string
replacerBaseType System.Type
text string
parameters object
return string

Replace() public static method

public static Replace ( string replacerBaseType, string text ) : string
replacerBaseType string
text string
return string

Replace() public static method

public static Replace ( string replacerBaseType, string text, object parameters ) : string
replacerBaseType string
text string
parameters object
return string

Property Details

TEMPLATE_PATTERN_FORMAT public_oe static_oe property

public static string TEMPLATE_PATTERN_FORMAT
return string