public void RegisterDemoApp(DocumentsDemoApp app) { DemoAppRegistryEntry entry = new DemoAppRegistryEntry(app); entry.UpdateLastUsageTime(); AppDictionary.AddOrUpdate(app.Id, entry, (appId, oldEntry) => entry); EnsureAppDisposingActivated(); }