C# 클래스 IncludeExtensions, Kipunji

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

공개 메소드들

메소드 설명
GetImage ( this html, bool conditional, string trueImage, string falseImage ) : string
GetImage ( this html, string image ) : string
IncludeCSS ( this html, string cssFile ) : string
IncludeFavicon ( this html, string icon ) : string
IncludeJS ( this html, string jsFile ) : string
IncludeScript ( this html, string script ) : string
ResolveUrl ( this html, string relativeUrl ) : string
ToFriendlyAge ( this dt ) : string
ToFriendlySpan ( this diff ) : string
ToHoursMinSec ( this diff ) : string

비공개 메소드들

메소드 설명
Plural ( string format, string singular, int value ) : string

메소드 상세

GetImage() 공개 정적인 메소드

public static GetImage ( this html, bool conditional, string trueImage, string falseImage ) : string
html this
conditional bool
trueImage string
falseImage string
리턴 string

GetImage() 공개 정적인 메소드

public static GetImage ( this html, string image ) : string
html this
image string
리턴 string

IncludeCSS() 공개 정적인 메소드

public static IncludeCSS ( this html, string cssFile ) : string
html this
cssFile string
리턴 string

IncludeFavicon() 공개 정적인 메소드

public static IncludeFavicon ( this html, string icon ) : string
html this
icon string
리턴 string

IncludeJS() 공개 정적인 메소드

public static IncludeJS ( this html, string jsFile ) : string
html this
jsFile string
리턴 string

IncludeScript() 공개 정적인 메소드

public static IncludeScript ( this html, string script ) : string
html this
script string
리턴 string

ResolveUrl() 공개 정적인 메소드

public static ResolveUrl ( this html, string relativeUrl ) : string
html this
relativeUrl string
리턴 string

ToFriendlyAge() 공개 정적인 메소드

public static ToFriendlyAge ( this dt ) : string
dt this
리턴 string

ToFriendlySpan() 공개 정적인 메소드

public static ToFriendlySpan ( this diff ) : string
diff this
리턴 string

ToHoursMinSec() 공개 정적인 메소드

public static ToHoursMinSec ( this diff ) : string
diff this
리턴 string