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