C# 클래스 Host.CivikeyStandardHost

Singleton host. Its private constructor is safe (no exceptions can be thrown except an out of memory: we can safely ignore this pathological case).
상속: CK.Context.AbstractContextHost, IHostInformation, IHostHelp
파일 보기 프로젝트 열기: Invenietis/ck-certified

공개 프로퍼티들

프로퍼티 타입 설명
Instance CivikeyStandardHost

Private Properties

프로퍼티 타입 설명
CivikeyStandardHost System
GetDevelopmentPath System.Uri
OnApplyDone void
OnSystemConfigurationPropertyChanged void
OnUserConfigurationPropertyChanged void

공개 메소드들

메소드 설명
CreateContext ( ) : IContext
FireShowHostHelp ( ) : void
GetDefaultHelp ( ) : Stream
GetSystemConfigAddress ( ) : Uri

보호된 메소드들

메소드 설명
GetDefaultContextProfile ( bool saving ) : Uri>.KeyValuePair
GetDefaultUserConfigAddress ( bool saving ) : Uri

비공개 메소드들

메소드 설명
CivikeyStandardHost ( CK.Windows.App.CKAppParameters parameters ) : System

The SubAppName is the name of the package (Standard, Steria etc...) using that, we can have different contexts/userconfs for each packages installed on the computer.

GetDevelopmentPath ( string fileName ) : Uri

If there is a civikey.exe.config file and that it contains a IsStandAloneInstance set to true, we set the default config path to ApplicationFolder/Configurations/FileName

OnApplyDone ( object sender, CK.Plugin.ApplyDoneEventArgs e ) : void
OnSystemConfigurationPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
OnUserConfigurationPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

메소드 상세

CreateContext() 공개 메소드

public CreateContext ( ) : IContext
리턴 IContext

FireShowHostHelp() 공개 메소드

public FireShowHostHelp ( ) : void
리턴 void

GetDefaultContextProfile() 보호된 메소드

protected GetDefaultContextProfile ( bool saving ) : Uri>.KeyValuePair
saving bool
리턴 Uri>.KeyValuePair

GetDefaultHelp() 공개 메소드

public GetDefaultHelp ( ) : Stream
리턴 Stream

GetDefaultUserConfigAddress() 보호된 메소드

protected GetDefaultUserConfigAddress ( bool saving ) : Uri
saving bool
리턴 System.Uri

GetSystemConfigAddress() 공개 메소드

public GetSystemConfigAddress ( ) : Uri
리턴 System.Uri

프로퍼티 상세

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

Singleton instance.
public static CivikeyStandardHost,Host Instance
리턴 CivikeyStandardHost