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); } }
public List <ResourceData> FindResourceData(string[] words, ResourceType?type) { var cs = GlobalConst.GetContentService(); return(cs.FindResourceData(words, type)); }