Exemplo n.º 1
0
 public void Unregister(ref ODBItem <Object> value)
 {
     if (!base.DoRemove(ref value.node))
     {
         throw new ArgumentException(value.node.ToString() + " does not belong to this list", "value");
     }
 }
Exemplo n.º 2
0
 public override bool Equals(object obj)
 {
     if (obj == null)
     {
         return((this.node == null) || (this.node.self == 0));
     }
     if (obj is ODBItem <TItem> )
     {
         ODBItem <TItem> item = (ODBItem <TItem>)obj;
         return(item.node == this.node);
     }
     if (obj is Object)
     {
         return(((this.node != null) && (this.node.self != null)) && (this.node.self == ((Object)obj)));
     }
     return(obj.Equals(this.node));
 }
Exemplo n.º 3
0
 public bool Contains(ref ODBItem <Object> value)
 {
     return(base.Contains(value.node));
 }