C# 클래스 Blade.Razor.SitecoreRazorRenderingType

This is a Sitecore Rendering Type class that tells Sitecore how to handle a Razor view as a Rendering when it comes across one
Must be registered in the renderingControls section of the Sitecore configuration. A template that derives from an existing Rendering template must also be created in Sitecore with a name matching the entry in the renderingControls config.
상속: RenderingType
파일 보기 프로젝트 열기: kamsar/Blade

공개 메소드들

메소드 설명
GetControl ( NameValueCollection parameters, bool assert ) : Control
GetControl ( string viewPath ) : Control

Gets a Control that will render a given Razor view path

메소드 상세

GetControl() 공개 메소드

public GetControl ( NameValueCollection parameters, bool assert ) : Control
parameters System.Collections.Specialized.NameValueCollection
assert bool
리턴 System.Web.UI.Control

GetControl() 공개 정적인 메소드

Gets a Control that will render a given Razor view path
public static GetControl ( string viewPath ) : Control
viewPath string
리턴 System.Web.UI.Control