Ejemplo n.º 1
0
        public static ConstraintDescription Parse(string value)
        {
            value = value.Trim();
            var description = new ConstraintDescription();

            if (string.IsNullOrEmpty(value))
            {
                return(description);
            }
            var tokens = value.Split('|');

            foreach (var token in tokens)
            {
                ParseInternal(token, description);
            }
            return(description);
        }
Ejemplo n.º 2
0
 private static void ParseInternal(string value, ConstraintDescription description)
 {
     value = value.Trim();
 }