C# 클래스 Nexus.Client.Bootstrapper

This class is responsible for creating all the services the application needs, and making sure that the environment is sane.
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5 1 사용 예제들

공개 메소드들

메소드 설명
Bootstrapper ( EnvironmentInfo p_eifEnvironmentInfo ) : System

A simple constructor that initializes the object with the given values.

RunMainForm ( string p_strArgs ) : bool

Runs the applications

This method makes sure the environment is sane. If so, it creates the required services and launches the main form.

보호된 메소드들

메소드 설명
DisposeServices ( ServiceManager p_smgServices ) : void

This disposes of the services we created.

GetInstalledGameModes ( GameModeRegistry p_gmrSupportedGameModes ) : GameModeRegistry

Gets a registry of installed game modes.

GetSupportedGameModes ( ) : GameModeRegistry

Gets a registry of supported game modes.

SandboxCheck ( EnvironmentInfo p_eifEnvironmentInfo ) : bool

Checks to see if a sandbox is interfering with dynamic code generation.

SetCompressorPath ( EnvironmentInfo p_eifEnvironmentInfo ) : void

Sets the path to the external compression library.

비공개 메소드들

메소드 설명
SetUpFonts ( ) : NexusFontSetResolver

Sets up the fonts.

메소드 상세

Bootstrapper() 공개 메소드

A simple constructor that initializes the object with the given values.
public Bootstrapper ( EnvironmentInfo p_eifEnvironmentInfo ) : System
p_eifEnvironmentInfo EnvironmentInfo The application's envrionment info.
리턴 System

DisposeServices() 보호된 메소드

This disposes of the services we created.
protected DisposeServices ( ServiceManager p_smgServices ) : void
p_smgServices ServiceManager The services to dispose.
리턴 void

GetInstalledGameModes() 보호된 메소드

Gets a registry of installed game modes.
protected GetInstalledGameModes ( GameModeRegistry p_gmrSupportedGameModes ) : GameModeRegistry
p_gmrSupportedGameModes Nexus.Client.Games.GameModeRegistry The games modes supported by the mod manager.
리턴 Nexus.Client.Games.GameModeRegistry

GetSupportedGameModes() 보호된 메소드

Gets a registry of supported game modes.
protected GetSupportedGameModes ( ) : GameModeRegistry
리턴 Nexus.Client.Games.GameModeRegistry

RunMainForm() 공개 메소드

Runs the applications
This method makes sure the environment is sane. If so, it creates the required services and launches the main form.
public RunMainForm ( string p_strArgs ) : bool
p_strArgs string The command line arguments passed to the application.
리턴 bool

SandboxCheck() 보호된 메소드

Checks to see if a sandbox is interfering with dynamic code generation.
protected SandboxCheck ( EnvironmentInfo p_eifEnvironmentInfo ) : bool
p_eifEnvironmentInfo EnvironmentInfo The application's envrionment info.
리턴 bool

SetCompressorPath() 보호된 메소드

Sets the path to the external compression library.
protected SetCompressorPath ( EnvironmentInfo p_eifEnvironmentInfo ) : void
p_eifEnvironmentInfo EnvironmentInfo The application's envrionment info.
리턴 void