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
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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