public BrokenRule(string message, Dictionary <string, string> fields) : this(message) { IEnumerable <BrokenField> result = new BrokenField[0]; if (fields != null && fields.Any()) { result = from i in fields select new BrokenField(i.Key, i.Value); } this.Fields = result.ToList(); }