C# Class 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).
Inheritance: CK.Context.AbstractContextHost, IHostInformation, IHostHelp
Afficher le fichier Open project: Invenietis/ck-certified

Méthodes publiques

Свойство Type Description
Instance CivikeyStandardHost

Private Properties

Свойство Type Description
CivikeyStandardHost System
GetDevelopmentPath System.Uri
OnApplyDone void
OnSystemConfigurationPropertyChanged void
OnUserConfigurationPropertyChanged void

Méthodes publiques

Méthode Description
CreateContext ( ) : IContext
FireShowHostHelp ( ) : void
GetDefaultHelp ( ) : Stream
GetSystemConfigAddress ( ) : Uri

Méthodes protégées

Méthode Description
GetDefaultContextProfile ( bool saving ) : Uri>.KeyValuePair
GetDefaultUserConfigAddress ( bool saving ) : Uri

Private Methods

Méthode Description
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

Method Details

CreateContext() public méthode

public CreateContext ( ) : IContext
Résultat IContext

FireShowHostHelp() public méthode

public FireShowHostHelp ( ) : void
Résultat void

GetDefaultContextProfile() protected méthode

protected GetDefaultContextProfile ( bool saving ) : Uri>.KeyValuePair
saving bool
Résultat Uri>.KeyValuePair

GetDefaultHelp() public méthode

public GetDefaultHelp ( ) : Stream
Résultat Stream

GetDefaultUserConfigAddress() protected méthode

protected GetDefaultUserConfigAddress ( bool saving ) : Uri
saving bool
Résultat System.Uri

GetSystemConfigAddress() public méthode

public GetSystemConfigAddress ( ) : Uri
Résultat System.Uri

Property Details

Instance public_oe static_oe property

Singleton instance.
public static CivikeyStandardHost,Host Instance
Résultat CivikeyStandardHost