コード例 #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);
     }
 }
コード例 #2
0
        public List <ResourceData> FindResourceData(string[] words, ResourceType?type)
        {
            var cs = GlobalConst.GetContentService();

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