C# 클래스 MissionPlanner.Utilities.Settings

This class loads and saves some handy app level settings so UI state is preserved across sessions.
파일 보기 프로젝트 열기: ArduPilot/MissionPlanner 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
config string>.Dictionary

공개 메소드들

메소드 설명
ContainsKey ( string key ) : bool
GetBoolean ( string key ) : bool
GetByte ( string key ) : byte
GetDataDirectory ( ) : string

Shared data directory

GetDefaultLogDir ( ) : string
GetDisplayView ( string key ) : DisplayView
GetDouble ( string key ) : double
GetFloat ( string key ) : float
GetInt32 ( string key ) : int
GetRunningDirectory ( ) : string

Install directory path

GetUserDataDirectory ( ) : string

User specific data

Load ( ) : void
Remove ( string key ) : void
Save ( ) : void
Settings ( ) : log4net
this ( string key ) : string

비공개 메소드들

메소드 설명
GetConfigFullPath ( ) : string

full path to the config file

메소드 상세

ContainsKey() 공개 메소드

public ContainsKey ( string key ) : bool
key string
리턴 bool

GetBoolean() 공개 메소드

public GetBoolean ( string key ) : bool
key string
리턴 bool

GetByte() 공개 메소드

public GetByte ( string key ) : byte
key string
리턴 byte

GetDataDirectory() 공개 정적인 메소드

Shared data directory
public static GetDataDirectory ( ) : string
리턴 string

GetDefaultLogDir() 공개 정적인 메소드

public static GetDefaultLogDir ( ) : string
리턴 string

GetDisplayView() 공개 메소드

public GetDisplayView ( string key ) : DisplayView
key string
리턴 DisplayView

GetDouble() 공개 메소드

public GetDouble ( string key ) : double
key string
리턴 double

GetFloat() 공개 메소드

public GetFloat ( string key ) : float
key string
리턴 float

GetInt32() 공개 메소드

public GetInt32 ( string key ) : int
key string
리턴 int

GetRunningDirectory() 공개 정적인 메소드

Install directory path
public static GetRunningDirectory ( ) : string
리턴 string

GetUserDataDirectory() 공개 정적인 메소드

User specific data
public static GetUserDataDirectory ( ) : string
리턴 string

Load() 공개 메소드

public Load ( ) : void
리턴 void

Remove() 공개 메소드

public Remove ( string key ) : void
key string
리턴 void

Save() 공개 메소드

public Save ( ) : void
리턴 void

Settings() 공개 메소드

public Settings ( ) : log4net
리턴 log4net

this() 공개 메소드

public this ( string key ) : string
key string
리턴 string

프로퍼티 상세

config 공개적으로 정적으로 프로퍼티

use to store all internal config
public static Dictionary config
리턴 string>.Dictionary