C# 클래스 ImageGlass.Services.Configuration.GlobalSetting

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

공개 메소드들

메소드 설명
GetConfig ( string key ) : string

Gets a specify config. Return "" if not found.

GetConfig ( string key, string defaultValue ) : string

Gets a specify config. Return @defaultValue if not found.

LoadImageOrderConfig ( ) : void

Load image order from configuration file

RectToString ( Rectangle rc ) : string

Convert Rectangle to String

SetConfig ( string key, string value ) : void

Sets a specify config.

StringToRect ( string str ) : Rectangle

Convert String to Rectangle

메소드 상세

GetConfig() 공개 정적인 메소드

Gets a specify config. Return "" if not found.
public static GetConfig ( string key ) : string
key string Configuration key
리턴 string

GetConfig() 공개 정적인 메소드

Gets a specify config. Return @defaultValue if not found.
public static GetConfig ( string key, string defaultValue ) : string
key string Configuration key
defaultValue string Default value
리턴 string

LoadImageOrderConfig() 공개 정적인 메소드

Load image order from configuration file
public static LoadImageOrderConfig ( ) : void
리턴 void

RectToString() 공개 정적인 메소드

Convert Rectangle to String
public static RectToString ( Rectangle rc ) : string
rc System.Drawing.Rectangle
리턴 string

SetConfig() 공개 정적인 메소드

Sets a specify config.
public static SetConfig ( string key, string value ) : void
key string Configuration key
value string Configuration value
리턴 void

StringToRect() 공개 정적인 메소드

Convert String to Rectangle
public static StringToRect ( string str ) : Rectangle
str string
리턴 System.Drawing.Rectangle