C# 클래스 csCommon.Types.DataServer.PoI.ExtendedPoiService

상속: PoiService
파일 보기 프로젝트 열기: TNOCS/csTouch 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
AppState AppStateSettings
ShapeAccentColor Color

공개 메소드들

메소드 설명
GetMenuItems ( ) : List
OpenFile ( bool saveDsd = true ) : void
OpenFileSync ( bool saveDsd = true ) : Exception

Open the file synchronously.

Subscribe ( Mode serviceMode ) : void

보호된 메소드들

메소드 설명
CreateService ( string name, System.Guid id, string folder = "", string relativeFolder = "" ) : ExtendedPoiService
OnFileOpenedEvent ( FileOpenedEventArgs e ) : void
ProcessFile ( ) : Exception

Process the file. Returns an exception iff this did not work, and null otherwise. Perhaps a little ugly.

비공개 메소드들

메소드 설명
CreateDsd ( ) : void

Create default PoI types in case we are opening a shape file, for example.

LoadDsd ( ) : bool
LoadOrCreateDataServiceDescription ( bool create ) : bool

Initialize the ShapeService by either creating a new DSD, or by loading an existing one.

RestartService ( ) : void

Stops and then starts the service again.

SelectColor ( ) : void
SetShapeColor ( string color ) : void

메소드 상세

CreateService() 보호된 정적인 메소드

protected static CreateService ( string name, System.Guid id, string folder = "", string relativeFolder = "" ) : ExtendedPoiService
name string
id System.Guid
folder string
relativeFolder string
리턴 ExtendedPoiService

GetMenuItems() 공개 메소드

public GetMenuItems ( ) : List
리턴 List

OnFileOpenedEvent() 보호된 메소드

protected OnFileOpenedEvent ( FileOpenedEventArgs e ) : void
e FileOpenedEventArgs
리턴 void

OpenFile() 공개 메소드

public OpenFile ( bool saveDsd = true ) : void
saveDsd bool
리턴 void

OpenFileSync() 공개 메소드

Open the file synchronously.
public OpenFileSync ( bool saveDsd = true ) : Exception
saveDsd bool Whether to save a data description file (dsd) too.
리턴 System.Exception

ProcessFile() 보호된 메소드

Process the file. Returns an exception iff this did not work, and null otherwise. Perhaps a little ugly.
protected ProcessFile ( ) : Exception
리턴 System.Exception

Subscribe() 공개 메소드

public Subscribe ( Mode serviceMode ) : void
serviceMode Mode
리턴 void

프로퍼티 상세

AppState 보호되어 있는 정적으로 프로퍼티

protected static AppStateSettings AppState
리턴 AppStateSettings

ShapeAccentColor 보호되어 있는 프로퍼티

protected Color ShapeAccentColor
리턴 Color