Пример #1
0
 /// <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);
     }
 }
Пример #2
0
 /// <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);
 }