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"); } }
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)); }
public bool Contains(ref ODBItem <Object> value) { return(base.Contains(value.node)); }