Example #1
0
        public bool Equals(TemplateValueCollection other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(_values.SequenceEqual(other._values));
        }
Example #2
0
 public Template(StringToken template, params TemplateValue[] values)
 {
     _template = template;
     _values   = new TemplateValueCollection(values);
 }