public void EnsureItem(string id, Func <ClientScriptItemBase> item) { if ((!Items.ContainsKey(id)) && (!Includes.ContainsKey(id))) { InsertItem(id, item()); } }