void ConfigSetup() { LicenseKeyStore = new SingleValueStoreCached<string> { BaseStore = new SingleValueStoreRelayWithExceptionToDelegate<string> { BaseStore = new StringStoreToFilePath { FilePath = LicenseKeyStoreFilePath, }, ExceptionDelegate = e => LogEntryWriteNow(new LogEntry { LicenseKeyStoreException = e }), } }; UI.Main.LicenseKeyStore = LicenseKeyStore; }
void ConfigSetup() { LicenseKeyStore = new SingleValueStoreCached <string> { BaseStore = new SingleValueStoreRelayWithExceptionToDelegate <string> { BaseStore = new StringStoreToFilePath { FilePath = LicenseKeyStoreFilePath, }, ExceptionDelegate = e => LogEntryWriteNow(new LogEntry { LicenseKeyStoreException = e }), } }; UI.Main.LicenseKeyStore = LicenseKeyStore; }
void ConfigSetup() { LicenseKeyStore = new SingleValueStoreCached <string> { BaseStore = new SingleValueStoreRelayWithExceptionToDelegate <string> { BaseStore = new StringStoreToFilePath { FilePath = LicenseKeyStoreFilePath, }, ExceptionDelegate = e => LogEntryWriteNow(new LogEntry { LicenseKeyStoreException = e }), } }; UI.ExeMain.LogEntryWrite = this.LogEntryWrite; UI.ExeMain.LicenseKeyStore = LicenseKeyStore; UI.ExeMain.BrowserServiceAppDomainSetupType = typeof(InterfaceAppDomainSetup); }
public App() { AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve; LicenseKeyStore = new SingleValueStoreCached <string> { BaseStore = new SingleValueStoreRelayWithExceptionToDelegate <string> { BaseStore = new StringStoreToFilePath { FilePath = LicenseKeyStoreFilePath, }, ExceptionDelegate = e => e.MessageBoxException(), } }; UIAPI = new Limbara.Script.HostToScript { CallbackGetApp = new Func <Interface.RemoteControl.IApp>(() => ToScriptApp), }; }