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; 
 }
示例#2
0
        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);
        }