Example #1
0
        public static List <string> AppendMatch(string myNames, List <string> myExistList)
        {
            List <string> listTarget = new List <string>();

            char splitChar = Actress.GetSplitChar(myNames);

            string[] arrLabel = myNames.Split(splitChar);

            foreach (string label in arrLabel)
            {
                if (label.Length > 0)
                {
                    if (!myExistList.Exists(x => x == label))
                    {
                        listTarget.Add(label);
                    }
                }
            }

            return(listTarget);
        }
Example #2
0
        internal static string GetEvaluation(string myTag, AvContentsService contentsService, MySqlDbConnection dockerMysqlConn)
        {
            string[] arrActresses = common.Actress.ParseTag(myTag);

            return(Actress.GetEvaluation(arrActresses, contentsService, new MySqlDbConnection()));
        }