메소드 | 설명 | |
---|---|---|
Init ( IRailsEngineContext engineContext, IViewComponentContext componentContext ) : void |
Invoked by the framework.
|
|
Initialize ( ) : void |
Called by the framework once the component instance is initialized
|
|
Render ( ) : void |
Called by the framework so the component can render its content
|
|
SupportsSection ( string name ) : bool |
Implementor should return true only if the
|
메소드 | 설명 | |
---|---|---|
CancelView ( ) : void |
Cancels the view processing.
|
|
HasSection ( String sectionName ) : bool |
Determines whether the current component declaration on the view has the specified section.
|
|
RenderBody ( ) : void |
Renders the component body.
|
|
RenderBody ( |
Renders the body into the specified TextWriter
|
|
RenderSection ( String sectionName ) : void |
Renders the the specified section
|
|
RenderSection ( String sectionName, |
Renders the the specified section
|
|
RenderSharedView ( String name ) : void |
Specifies the shared view to be processed after the component has finished its processing. (A partial view shared by others views and usually in the root folder of the view directory).
|
|
RenderText ( String content ) : void |
Renders the specified content back to the browser
|
|
RenderView ( String name ) : void |
Specifies the view to be processed after the component has finished its processing.
|
|
RenderView ( String component, String name ) : void |
Specifies the view to be processed after the component has finished its processing.
|
메소드 | 설명 | |
---|---|---|
BindComponentParameters ( ) : void |
Binds the component parameters.
|
|
BindParameter ( |
||
GetBaseViewPath ( ) : String | ||
GetBaseViewPath ( String componentName ) : String |
protected HasSection ( String sectionName ) : bool | ||
sectionName | String | Name of the section. |
리턴 | bool |
public Init ( IRailsEngineContext engineContext, IViewComponentContext componentContext ) : void | ||
engineContext | IRailsEngineContext | Request context |
componentContext | IViewComponentContext | ViewComponent context |
리턴 | void |
protected RenderBody ( |
||
writer | The writer. | |
리턴 | void |
protected RenderSection ( String sectionName ) : void | ||
sectionName | String | Name of the section. |
리턴 | void |
protected RenderSection ( String sectionName, |
||
sectionName | String | Name of the section. |
writer | The writer. | |
리턴 | void |
protected RenderText ( String content ) : void | ||
content | String | The content to render. |
리턴 | void |
protected RenderView ( String component, String name ) : void | ||
component | String | |
name | String | |
리턴 | void |
public SupportsSection ( string name ) : bool | ||
name | string | section being added |
리턴 | bool |