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