C# 클래스 ServiceStack.Html.HtmlHelper

파일 보기 프로젝트 열기: CSGOpenSource/ServiceStack 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
HtmlExtensions List
ValidationInputCssClassName string
ValidationInputValidCssClassName string
ValidationMessageCssClassNames string
ValidationMessageValidCssClassName string
ValidationSuccessCssClassNames string
ValidationSummaryCssClassNames string
ValidationSummaryValidCssClassName string

Private Properties

프로퍼티 타입 설명
EncodeLegacy string
EvalBoolean bool
EvalString string
EvalString string
GetHtmlEncoder HtmlEncoder
GetModelStateValue object

공개 메소드들

메소드 설명
AnonymousObjectToHtmlAttributes ( object htmlAttributes ) : RouteValueDictionary
AntiForgeryToken ( ) : ServiceStack.Html.MvcHtmlString
AntiForgeryToken ( string salt ) : ServiceStack.Html.MvcHtmlString
AntiForgeryToken ( string salt, string domain, string path ) : ServiceStack.Html.MvcHtmlString
AttributeEncode ( object value ) : string
AttributeEncode ( string value ) : string
Debug ( object model ) : string
EnableClientValidation ( ) : void
EnableClientValidation ( bool enabled ) : void
EnableUnobtrusiveJavaScript ( ) : void
EnableUnobtrusiveJavaScript ( bool enabled ) : void
Encode ( object value ) : string
Encode ( string value ) : string
FormatValue ( object value, string format ) : string
GenerateIdFromName ( string name ) : string
GenerateIdFromName ( string name, string idAttributeDotReplacement ) : string
GetErrorMessage ( ) : ServiceStack.Html.MvcHtmlString
GetErrorStatus ( ) : ResponseStatus
GetFieldError ( string errorName ) : ResponseError
GetFormMethodString ( FormMethod method ) : string
GetInputTypeString ( InputType inputType ) : string
GetMethod ( string methodName ) : MethodInfo
GetUnobtrusiveValidationAttributes ( string name ) : object>.IDictionary
GetUnobtrusiveValidationAttributes ( string name, ModelMetadata metadata ) : object>.IDictionary
HasFieldError ( string errorName ) : bool
HtmlHelper ( ) : System
HttpMethodOverride ( HttpVerbs httpVerb ) : ServiceStack.Html.MvcHtmlString
HttpMethodOverride ( string httpMethod ) : ServiceStack.Html.MvcHtmlString
Init ( IHttpRequest httpReq, IHttpResponse httpRes, IViewEngine viewEngine, ViewDataDictionary viewData, HtmlHelper htmlHelper ) : void
Init ( IViewEngine viewEngine, IRequest httpReq, IResponse httpRes, IRazorView razorPage, object>.Dictionary scopeArgs = null, ViewDataDictionary viewData = null ) : void
Init ( ServiceStack.Support.Markdown.MarkdownPage markdownPage, object>.Dictionary scopeArgs, bool renderHtml, ViewDataDictionary viewData, HtmlHelper htmlHelper ) : void
Partial ( string viewName ) : ServiceStack.Html.MvcHtmlString
Partial ( string viewName, object model ) : ServiceStack.Html.MvcHtmlString
Raw ( object content ) : ServiceStack.Html.MvcHtmlString
SetModel ( object model ) : void

비공개 메소드들

메소드 설명
EncodeLegacy ( object value ) : string
EvalBoolean ( string key ) : bool
EvalString ( string key ) : string
EvalString ( string key, string format ) : string
GetHtmlEncoder ( ) : HtmlEncoder
GetModelStateValue ( string key, Type destinationType ) : object

메소드 상세

AnonymousObjectToHtmlAttributes() 공개 정적인 메소드

public static AnonymousObjectToHtmlAttributes ( object htmlAttributes ) : RouteValueDictionary
htmlAttributes object
리턴 RouteValueDictionary

AntiForgeryToken() 공개 메소드

public AntiForgeryToken ( ) : ServiceStack.Html.MvcHtmlString
리턴 ServiceStack.Html.MvcHtmlString

AntiForgeryToken() 공개 메소드

public AntiForgeryToken ( string salt ) : ServiceStack.Html.MvcHtmlString
salt string
리턴 ServiceStack.Html.MvcHtmlString

AntiForgeryToken() 공개 메소드

public AntiForgeryToken ( string salt, string domain, string path ) : ServiceStack.Html.MvcHtmlString
salt string
domain string
path string
리턴 ServiceStack.Html.MvcHtmlString

AttributeEncode() 공개 메소드

public AttributeEncode ( object value ) : string
value object
리턴 string

AttributeEncode() 공개 메소드

public AttributeEncode ( string value ) : string
value string
리턴 string

Debug() 공개 메소드

public Debug ( object model ) : string
model object
리턴 string

EnableClientValidation() 공개 메소드

public EnableClientValidation ( ) : void
리턴 void

EnableClientValidation() 공개 메소드

public EnableClientValidation ( bool enabled ) : void
enabled bool
리턴 void

EnableUnobtrusiveJavaScript() 공개 메소드

public EnableUnobtrusiveJavaScript ( ) : void
리턴 void

EnableUnobtrusiveJavaScript() 공개 메소드

public EnableUnobtrusiveJavaScript ( bool enabled ) : void
enabled bool
리턴 void

Encode() 공개 메소드

public Encode ( object value ) : string
value object
리턴 string

Encode() 공개 메소드

public Encode ( string value ) : string
value string
리턴 string

FormatValue() 공개 메소드

public FormatValue ( object value, string format ) : string
value object
format string
리턴 string

GenerateIdFromName() 공개 정적인 메소드

public static GenerateIdFromName ( string name ) : string
name string
리턴 string

GenerateIdFromName() 공개 정적인 메소드

public static GenerateIdFromName ( string name, string idAttributeDotReplacement ) : string
name string
idAttributeDotReplacement string
리턴 string

GetErrorMessage() 공개 메소드

public GetErrorMessage ( ) : ServiceStack.Html.MvcHtmlString
리턴 ServiceStack.Html.MvcHtmlString

GetErrorStatus() 공개 메소드

public GetErrorStatus ( ) : ResponseStatus
리턴 ResponseStatus

GetFieldError() 공개 메소드

public GetFieldError ( string errorName ) : ResponseError
errorName string
리턴 ResponseError

GetFormMethodString() 공개 정적인 메소드

public static GetFormMethodString ( FormMethod method ) : string
method FormMethod
리턴 string

GetInputTypeString() 공개 정적인 메소드

public static GetInputTypeString ( InputType inputType ) : string
inputType InputType
리턴 string

GetMethod() 공개 정적인 메소드

public static GetMethod ( string methodName ) : MethodInfo
methodName string
리턴 System.Reflection.MethodInfo

GetUnobtrusiveValidationAttributes() 공개 메소드

public GetUnobtrusiveValidationAttributes ( string name ) : object>.IDictionary
name string
리턴 object>.IDictionary

GetUnobtrusiveValidationAttributes() 공개 메소드

public GetUnobtrusiveValidationAttributes ( string name, ModelMetadata metadata ) : object>.IDictionary
name string
metadata ModelMetadata
리턴 object>.IDictionary

HasFieldError() 공개 메소드

public HasFieldError ( string errorName ) : bool
errorName string
리턴 bool

HtmlHelper() 공개 메소드

public HtmlHelper ( ) : System
리턴 System

HttpMethodOverride() 공개 메소드

public HttpMethodOverride ( HttpVerbs httpVerb ) : ServiceStack.Html.MvcHtmlString
httpVerb HttpVerbs
리턴 ServiceStack.Html.MvcHtmlString

HttpMethodOverride() 공개 메소드

public HttpMethodOverride ( string httpMethod ) : ServiceStack.Html.MvcHtmlString
httpMethod string
리턴 ServiceStack.Html.MvcHtmlString

Init() 공개 메소드

public Init ( IHttpRequest httpReq, IHttpResponse httpRes, IViewEngine viewEngine, ViewDataDictionary viewData, HtmlHelper htmlHelper ) : void
httpReq IHttpRequest
httpRes IHttpResponse
viewEngine IViewEngine
viewData ViewDataDictionary
htmlHelper HtmlHelper
리턴 void

Init() 공개 메소드

public Init ( IViewEngine viewEngine, IRequest httpReq, IResponse httpRes, IRazorView razorPage, object>.Dictionary scopeArgs = null, ViewDataDictionary viewData = null ) : void
viewEngine IViewEngine
httpReq IRequest
httpRes IResponse
razorPage IRazorView
scopeArgs object>.Dictionary
viewData ViewDataDictionary
리턴 void

Init() 공개 메소드

public Init ( ServiceStack.Support.Markdown.MarkdownPage markdownPage, object>.Dictionary scopeArgs, bool renderHtml, ViewDataDictionary viewData, HtmlHelper htmlHelper ) : void
markdownPage ServiceStack.Support.Markdown.MarkdownPage
scopeArgs object>.Dictionary
renderHtml bool
viewData ViewDataDictionary
htmlHelper HtmlHelper
리턴 void

Partial() 공개 메소드

public Partial ( string viewName ) : ServiceStack.Html.MvcHtmlString
viewName string
리턴 ServiceStack.Html.MvcHtmlString

Partial() 공개 메소드

public Partial ( string viewName, object model ) : ServiceStack.Html.MvcHtmlString
viewName string
model object
리턴 ServiceStack.Html.MvcHtmlString

Raw() 공개 메소드

public Raw ( object content ) : ServiceStack.Html.MvcHtmlString
content object
리턴 ServiceStack.Html.MvcHtmlString

SetModel() 공개 메소드

public SetModel ( object model ) : void
model object
리턴 void

프로퍼티 상세

HtmlExtensions 공개적으로 정적으로 프로퍼티

public static List HtmlExtensions
리턴 List

ValidationInputCssClassName 공개적으로 정적으로 프로퍼티

public static string ValidationInputCssClassName
리턴 string

ValidationInputValidCssClassName 공개적으로 정적으로 프로퍼티

public static string ValidationInputValidCssClassName
리턴 string

ValidationMessageCssClassNames 공개적으로 정적으로 프로퍼티

public static string ValidationMessageCssClassNames
리턴 string

ValidationMessageValidCssClassName 공개적으로 정적으로 프로퍼티

public static string ValidationMessageValidCssClassName
리턴 string

ValidationSuccessCssClassNames 공개적으로 정적으로 프로퍼티

public static string ValidationSuccessCssClassNames
리턴 string

ValidationSummaryCssClassNames 공개적으로 정적으로 프로퍼티

public static string ValidationSummaryCssClassNames
리턴 string

ValidationSummaryValidCssClassName 공개적으로 정적으로 프로퍼티

public static string ValidationSummaryValidCssClassName
리턴 string