/// <summary> /// private Dictionary<String, ContentObject> _Memory = new Dictionary<string, ContentObject>(); /// </summary> /// <param name="pid"></param> /// <param name="updateViews"></param> /// <param name="getReviews"></param> /// <param name="revision"></param> /// <returns></returns> public ContentObject GetContentObjectById(string pid, bool updateViews, bool getReviews = true, int revision = -1) { ContentObject ret = _metadataStore.GetContentObjectById(pid, updateViews, getReviews, revision); if (ret != null) { ret.SetParentRepo(this); } return(ret); }