Exemplo n.º 1
0
        public static List <PropertyItem> currentList(string property, int cultureId, bool addDefaultItem)
        {
            List <PropertyItem> l = new List <PropertyItem>();

            switch (property)
            {
            case "sex":
                l = UsersProperties.Sex(cultureId);
                break;

            case "country":
                l = UsersProperties.Countries(cultureId, addDefaultItem);
                break;

            case "seeksex":
                l = UsersProperties.SeekSex(cultureId);
                break;

            case "month":
                l = UsersProperties.Months(cultureId);
                break;

            case "day":
                l = UsersProperties.Days();
                break;

            case "year":
                l = UsersProperties.Year();
                break;

            case "relationship":
                l = UsersProperties.Relationships(cultureId, addDefaultItem);
                break;

            case "height":
                l = UsersProperties.Height();
                break;

            case "fashionstyle":
                l = UsersProperties.FashionStyles(cultureId, addDefaultItem);
                break;

            case "drinking":
                l = UsersProperties.Drinkings(cultureId, addDefaultItem);
                break;

            case "smoking":
                l = UsersProperties.Smokings(cultureId, addDefaultItem);
                break;

            case "figure":
                l = UsersProperties.Figures(cultureId, addDefaultItem);
                break;

            case "eyes":
                l = UsersProperties.Eyes(cultureId, addDefaultItem);
                break;

            case "hair":
                l = UsersProperties.Hair(cultureId, addDefaultItem);
                break;

            case "body":
                l = UsersProperties.Body(cultureId, addDefaultItem);
                break;

            case "bodyart":
                l = UsersProperties.Bodyart(cultureId, addDefaultItem);
                break;

            case "look":
                l = UsersProperties.Look(cultureId, addDefaultItem);
                break;

            case "education":
                l = UsersProperties.Educations(cultureId, addDefaultItem);
                break;

            case "ethnicity":
                l = UsersProperties.Ethnicities(cultureId, addDefaultItem);
                break;

            case "religion":
                l = UsersProperties.Religions(cultureId, addDefaultItem);
                break;

            case "profession":
                l = UsersProperties.Profession(cultureId, addDefaultItem);
                break;

            case "salary":
                l = UsersProperties.Salary(cultureId, addDefaultItem);
                break;

            case "diet":
                l = UsersProperties.Diets(cultureId, addDefaultItem);
                break;

            case "freetimefavorite":
                l = UsersProperties.FreeTimeFavorites(cultureId, addDefaultItem);
                break;

            case "hobbies":
                l = UsersProperties.Hobbies(cultureId, addDefaultItem);
                break;

            case "status":
                l = UsersProperties.Statuses(cultureId, addDefaultItem);
                break;

            case "statuspartner":
                l = UsersProperties.StatusesPartner(cultureId, addDefaultItem);
                break;

            case "kids":
                l = UsersProperties.Kids(cultureId, addDefaultItem);
                break;

            case "kidshave":
                l = UsersProperties.KidsHave(cultureId, addDefaultItem);
                break;

            case "kidswant":
                l = UsersProperties.KidsWant(cultureId, addDefaultItem);
                break;

            case "exercise":
                l = UsersProperties.Excercise(cultureId, addDefaultItem);
                break;

            case "sport":
                l = UsersProperties.Sports(cultureId, addDefaultItem);
                break;

            case "music":
                l = UsersProperties.Music(cultureId, addDefaultItem);
                break;

            case "sign":
                l = UsersProperties.Sign(cultureId, addDefaultItem);
                break;
            }

            return(l);
        }