C# 클래스 StringFormatWithExtension, extensions

Requires a reference to System.Web.
파일 보기 프로젝트 열기: netfx/extensions

공개 메소드들

메소드 설명
FormatWith ( this format, object source ) : string

Formats the string with the given source object. Expression like {Id} are replaced with the corresponding property value in the source. Supports all DataBinder.Eval expressions formats for property access.

비공개 메소드들

메소드 설명
OutExpression ( object source, string expression ) : string

메소드 상세

FormatWith() 공개 정적인 메소드

Formats the string with the given source object. Expression like {Id} are replaced with the corresponding property value in the source. Supports all DataBinder.Eval expressions formats for property access.
public static FormatWith ( this format, object source ) : string
format this
source object
리턴 string