public DocumentsDemoApp GetDemoApp(string appId) { DemoAppRegistryEntry entry; if (!AppDictionary.TryGetValue(appId, out entry)) { return(null); } entry.UpdateLastUsageTime(); return(entry.DemoApp); }