Adds comments

This commit is contained in:
Shannon
2017-03-28 15:46:33 +11:00
parent 9eb415d398
commit aca1f0d186
2 changed files with 11 additions and 1 deletions

View File

@@ -280,6 +280,11 @@ AND umbracoNode.id <> @id",
return collection;
}
/// <summary>
/// Gets a specific PreValue by its Id
/// </summary>
/// <param name="preValueId">Id of the PreValue to retrieve the value from</param>
/// <returns>PreValue as a string</returns>
public string GetPreValueAsString(int preValueId)
{
var collections = RuntimeCache.GetCacheItemsByKeySearch<PreValueCollection>(CacheKeys.DataTypePreValuesCacheKey + "_");