Underscore() public static method

public static Underscore ( string str ) : string
str string
return string
コード例 #1
0
        public virtual List <ValidationError> OnField(string fieldName)
        {
            string key = StringUtil.Underscore(fieldName);

            if (errors.ContainsKey(key))
            {
                return(errors[key]);
            }

            return(null);
        }