/// <summary> /// Updates a metadata record for a site model given a pre-built metadata instance /// </summary> /// <param name="siteModelID"></param> /// <param name="metaData"></param> public void Update(Guid siteModelID, ISiteModelMetadata metaData) { if (metaData != null) { metaDataCache.Put(siteModelID, metaData); } }
/// <summary> /// Adds a new metadata record for a site model /// </summary> /// <param name="siteModelID"></param> /// <param name="metaData"></param> public void Add(Guid siteModelID, ISiteModelMetadata metaData) { metaDataCache.Put(siteModelID, metaData); }