/// <summary> /// Get all resources in forlder /// </summary> /// <param name="folder"></param> /// <param name="type"></param> /// <param name="namespace"></param> /// <returns></returns> public static List <string> GetAllResourceNamesInFolder(string folder, DataSetupResourceType type = DataSetupResourceType.None, string @namespace = ResourceNamespace) { if (type == DataSetupResourceType.None) { return(EmbeddedResourceHelper.GetEmbeddedResourceNamesOfFolder(folder, @namespace)); } if (string.IsNullOrEmpty(folder)) { return(EmbeddedResourceHelper.GetEmbeddedResourceNamesOfFolder(type.GetEnumName(), @namespace)); } return(EmbeddedResourceHelper.GetEmbeddedResourceNamesOfFolder(string.Format("{0}.{1}", type.GetEnumName(), folder), @namespace)); }