C# 클래스 Universe.Simulation.Base.BaseApplication

Starting class for the Universe Server
파일 보기 프로젝트 열기: Virtual-Universe/Virtual-Universe 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
m_crashDir string
m_saveCrashDumps bool

공개 메소드들

메소드 설명
BaseMain ( string args, string defaultIniFile, ISimulationBase simBase ) : void
Configure ( bool requested ) : void
HandleCrashException ( string msg, Exception ex ) : void

Deal with sending the error to the error reporting service and saving the dump to the hard-drive if needed

Startup ( IConfigSource originalConfigSource, IConfigSource configSource, ISimulationBase simBase, string cmdParameters ) : void

비공개 메소드들

메소드 설명
Configuration ( IConfigSource configSource, string defaultIniFile ) : IConfigSource

Load the configuration for the Application

CurrentDomain_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void

Global exception handler -- all unhandled exceptions end up here :)

MakeSureExists ( string file ) : void
ReadLine ( string log, string defaultReturn ) : string
UnhandledException ( bool isTerminating, Exception ex ) : void

메소드 상세

BaseMain() 공개 정적인 메소드

public static BaseMain ( string args, string defaultIniFile, ISimulationBase simBase ) : void
args string
defaultIniFile string
simBase ISimulationBase
리턴 void

Configure() 공개 정적인 메소드

public static Configure ( bool requested ) : void
requested bool
리턴 void

HandleCrashException() 공개 정적인 메소드

Deal with sending the error to the error reporting service and saving the dump to the hard-drive if needed
public static HandleCrashException ( string msg, Exception ex ) : void
msg string
ex System.Exception
리턴 void

Startup() 공개 정적인 메소드

public static Startup ( IConfigSource originalConfigSource, IConfigSource configSource, ISimulationBase simBase, string cmdParameters ) : void
originalConfigSource IConfigSource
configSource IConfigSource
simBase ISimulationBase
cmdParameters string
리턴 void

프로퍼티 상세

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

Directory to save crash reports to. Relative to Data/Crashes/
public static string m_crashDir
리턴 string

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

Save Crashes in the bin/crashes folder. Configurable with m_crashDir
public static bool m_saveCrashDumps
리턴 bool