protected virtual void Dispose(bool disposing) { if (proxy != null) { System.Diagnostics.Debug.Assert(disposing == true); // remove this token from the database's vector lq.RemoveFromBin(ref proxy); proxy = null; } }
// constructor public TokenType(ContentType parentObject, LocalityQueryProximityDatabase <ContentType> lqsd) { proxy = new LocalityQueryDB.ClientProxy(parentObject); lq = lqsd.lq; }