Ejemplo n.º 1
0
 public ResourceData GetResourceDataByInternalName(string name)
 {
     try {
         var cs = GlobalConst.GetContentService();
         return(cs.GetResourceDataByInternalName(name));
     }
     catch (Exception ex)
     {
         Trace.TraceWarning(string.Format("Error getting data for resource {0} : {1}", name, ex));
         return(null);
     }
 }
Ejemplo n.º 2
0
        public List <ResourceData> FindResourceData(string[] words, ResourceType?type)
        {
            var cs = GlobalConst.GetContentService();

            return(cs.FindResourceData(words, type));
        }