src/MVCContrib/UI/MenuBuilder/MenuItem.cs
/// <summary>
/// Renders the menu according to the current RequestContext to the specified TextWriter
/// </summary>
/// <param name="requestContext">The current RequestContext</param>
/// <param name="writer">The TextWriter for output</param>
Renders the menu according to the current RequestContext to the specified TextWriter
Renders the menu according to the current RequestContext to the specified TextWriter
public virtual void RenderHtml(ControllerContext requestContext, TextWriter writer)
		{
			Prepare(requestContext);
			writer.Write(RenderHtml());
		}
public virtual void RenderHtml ( ControllerContext requestContext , TextWriter writer ) { Prepare ( requestContext ) ; writer . Write ( RenderHtml ( ) ) ; }
Renders the menu according to the current RequestContext to the specified TextWriter
Renders the menu according to the current RequestContext to the specified TextWriter
requestContext
ControllerContext
The current RequestContext
The current RequestContext
writer
TextWriter
The TextWriter for output
The TextWriter for output