internal bool TryGetCachedLayoutValue(Layout layout, out string value) { if (this.layoutCache == null) { value = null; return false; } lock (this.layoutCache) { return this.layoutCache.TryGetValue(layout, out value); } }