C# 클래스 Rebel.Cms.Web.FileExtensions

파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5

공개 메소드들

메소드 설명
GetFileExtension ( this file ) : string

Returns the file extension

GetFileNameForDisplay ( this file ) : string

Returns a nicely formatted file name: without extension and hyphens replaced by spaces for display

GetFileNameWithoutExtension ( this file ) : string

Returns the file name without extension

GetFilePathForDisplay ( this file ) : string
GetFilePathWithoutExtension ( this file ) : string
GetMimeType ( this file ) : string
IsImage ( this file ) : bool

비공개 메소드들

메소드 설명
ToFileNameForDisplay ( this fileName ) : string

메소드 상세

GetFileExtension() 공개 정적인 메소드

Returns the file extension
public static GetFileExtension ( this file ) : string
file this
리턴 string

GetFileNameForDisplay() 공개 정적인 메소드

Returns a nicely formatted file name: without extension and hyphens replaced by spaces for display
public static GetFileNameForDisplay ( this file ) : string
file this
리턴 string

GetFileNameWithoutExtension() 공개 정적인 메소드

Returns the file name without extension
public static GetFileNameWithoutExtension ( this file ) : string
file this
리턴 string

GetFilePathForDisplay() 공개 정적인 메소드

public static GetFilePathForDisplay ( this file ) : string
file this
리턴 string

GetFilePathWithoutExtension() 공개 정적인 메소드

public static GetFilePathWithoutExtension ( this file ) : string
file this
리턴 string

GetMimeType() 공개 정적인 메소드

public static GetMimeType ( this file ) : string
file this
리턴 string

IsImage() 공개 정적인 메소드

public static IsImage ( this file ) : bool
file this
리턴 bool