Check.ExceptionEasy(!Regex.IsMatch(entityInfo.Discrimator,@"^(?:\w+:\w+)(?:,\w+:\w+)*$"),"The format should be type:cat for this type, and if there are multiple, it can be FieldName:cat,FieldName2:dog ","格式错误应该是type:cat这种格式,如果是多个可以FieldName:cat,FieldName2:dog,不要有空格");