C# 클래스 ExoWeb.Templates.MicrosoftAjax.Block

Represents a block of markup in a template, which could be a bound element, control, or just plain text markup.
파일 보기 프로젝트 열기: vc3/ExoWeb

공개 메소드들

메소드 설명
ToString ( ) : string

보호된 메소드들

메소드 설명
Parse ( string source, string markup ) : List

Parses and returns the blocks represented by the specified template markup.

비공개 메소드들

메소드 설명
Abort ( AjaxPage page, string templateNames, TextWriter writer ) : void

Renders the block's markup to the specified writer in the context of the specified page.

EnsureValidMarkup ( XmlNode node ) : void
GetAttributes ( XmlElement element ) : List
GetBinding ( XmlElement element, string attributeName ) : Binding
GetBoolean ( XmlElement element, string attributeName ) : bool?
GetDefaultProperty ( XmlNode node ) : string
GetElementMarkup ( XmlElement element ) : string

Gets the markup for the start element tag.

GetLiteralTokens ( XmlElement element, string attributeName ) : string[]
GetMarkup ( XmlNode node ) : string

Gets the HTML markup for the specified XmlNode.

GetStringLiteral ( XmlElement element, string attributeName ) : string
GetTemplate ( XmlElement element ) : string

Gets the HTML template for the specified XmlNode.

IsTemplate ( Control control ) : bool

Determines whether the given control is a template (should have the sys-template class)

ParseChildren ( string source, XmlElement element, bool withinTemplate ) : List

Parses the children of the specified element into a list of template blocks.

ParseChildren ( string source, XmlElement element, bool withinTemplate, int lastNestedTemplateIndex, int &nestedTemplates ) : List

Parses the children of the specified element into a list of template blocks.

Render ( AjaxPage page, string templateNames, TextWriter writer ) : void

Renders the block to the specified writer in the context of the specified page.

RenderContextBeginMarker ( Context context, string parentTagName, TextWriter writer ) : void

Renders an element that marks the beginning of a template context in rendered HTML.

RenderContextEndMarker ( Context context, string parentTagName, TextWriter writer ) : void

Renders an element that marks the end of a template context in rendered HTML.

메소드 상세

Parse() 보호된 정적인 메소드

Parses and returns the blocks represented by the specified template markup.
protected static Parse ( string source, string markup ) : List
source string
markup string
리턴 List

ToString() 공개 메소드

public ToString ( ) : string
리턴 string