public bool Validate(PropertyBagEntryCollection sourceCollection, PropertyBagEntryCollection targetCollection, TokenParser tokenParser) { Dictionary<string, string[]> parserSettings = new Dictionary<string, string[]>(); parserSettings.Add("Value", null); bool isPropertyBagsMatch = ValidateObjects(sourceCollection, targetCollection, new List<string> { "Key", "Value", "Indexed" }, tokenParser, parserSettings); Console.WriteLine("-- Property Bags validation " + isPropertyBagsMatch); return isPropertyBagsMatch; }
public bool Validate(PropertyBagEntryCollection sourceCollection, PropertyBagEntryCollection targetCollection, TokenParser tokenParser) { Dictionary <string, string[]> parserSettings = new Dictionary <string, string[]>(); parserSettings.Add("Value", null); bool isPropertyBagsMatch = ValidateObjects(sourceCollection, targetCollection, new List <string> { "Key", "Value", "Indexed" }, tokenParser, parserSettings); Console.WriteLine("-- Property Bags validation " + isPropertyBagsMatch); return(isPropertyBagsMatch); }