C# 클래스 CairoDesktop.SystemFile

상속: INotifyPropertyChanged
파일 보기 프로젝트 열기: RevolutionSmythe/cairoshell 1 사용 예제들

공개 메소드들

메소드 설명
GetFileIsImage ( string path ) : bool

Checks the path's file extension against the list of known types to determine if the file is an image.

SystemFile ( string filePath ) : System

Initializes a new instance of the SystemFile class using the CurrentDispatcher.

SystemFile ( string filePath, Dispatcher dispatcher ) : System

Initializes a new instance of the SystemFile class.

비공개 메소드들

메소드 설명
GetDisplayIcon ( ) : void

Retrieves the display icon of the file. If the file is an image then it will return the image its self (e.g. preview).

Initialize ( ) : void

Initializes the details of the file.

OnPropertyChanged ( string propName ) : void

메소드 상세

GetFileIsImage() 공개 정적인 메소드

Checks the path's file extension against the list of known types to determine if the file is an image.
public static GetFileIsImage ( string path ) : bool
path string The file path.
리턴 bool

SystemFile() 공개 메소드

Initializes a new instance of the SystemFile class using the CurrentDispatcher.
public SystemFile ( string filePath ) : System
filePath string The file path of the file in question.
리턴 System

SystemFile() 공개 메소드

Initializes a new instance of the SystemFile class.
public SystemFile ( string filePath, Dispatcher dispatcher ) : System
filePath string The file path of the file in question.
dispatcher System.Windows.Threading.Dispatcher The current UI dispatcher.
리턴 System