示例#1
0
 bool Compare(PropertyBag x, PropertyBag y)
 {
     var common = Common(x, y);
     return (x.Count == common.Count());
 }
示例#2
0
 IEnumerable<KeyValuePair<string, string>> Common(PropertyBag x, PropertyBag y)
 {
     return Common(x.KeyValuePairs, y.KeyValuePairs);
 }
示例#3
0
 PropertyBag CreateBag()
 {
     PropertyBag bag = new PropertyBag(this.Pairs);
     return bag;
 }