Exemplo n.º 1
0
 public bool HasStashedPath(CommerceContext commerceContext, string itemPath)
 {
     if (_contentItemStash.ContainsKey(itemPath))
     {
         commerceContext.Logger.LogDebug($"=??+ItemStash-HasStashedPath|{itemPath}|{commerceContext.CurrentLanguage()}|true");
         return(true);
     }
     else
     {
         commerceContext.Logger.LogInformation($"=??*ItemStash-HasStashedPath|{itemPath}|{commerceContext.CurrentLanguage()}|false");
         return(false);
     }
 }