Ejemplo n.º 1
0
        internal void RemoveWeakReference(object value)
        {
            DbReferenceCollection referenceCollection = ReferenceCollection;

            if (null != referenceCollection)
            {
                referenceCollection.Remove(value);
            }
        }
Ejemplo n.º 2
0
        internal void RemoveWeakReference(object value)
        {
            DbReferenceCollection referenceCollection = this.ReferenceCollection;

            if (referenceCollection != null)
            {
                referenceCollection.Remove(value);
            }
        }
Ejemplo n.º 3
0
        internal void NotifyWeakReference(int message)
        {
            DbReferenceCollection referenceCollection = ReferenceCollection;

            if (null != referenceCollection)
            {
                referenceCollection.Notify(message);
            }
        }
Ejemplo n.º 4
0
        internal void NotifyWeakReference(int message)
        {
            DbReferenceCollection referenceCollection = this.ReferenceCollection;

            if (referenceCollection != null)
            {
                referenceCollection.Notify(message);
            }
        }
Ejemplo n.º 5
0
 internal void AddWeakReference(object value, int tag)
 {
     if (null == _referenceCollection)
     {
         _referenceCollection = CreateReferenceCollection();
         if (null == _referenceCollection)
         {
             throw ADP.InternalError(ADP.InternalErrorCode.CreateReferenceCollectionReturnedNull);
         }
     }
     _referenceCollection.Add(value, tag);
 }
 internal void AddWeakReference(object value, int tag)
 {
     if (this._referenceCollection == null)
     {
         this._referenceCollection = this.CreateReferenceCollection();
         if (this._referenceCollection == null)
         {
             throw ADP.InternalError(ADP.InternalErrorCode.CreateReferenceCollectionReturnedNull);
         }
     }
     this._referenceCollection.Add(value, tag);
 }
 internal DbFilteredReferenceCollectionedEnumerator(DbReferenceCollection.CollectionEntry[] items, int filterTag)
 {
     this._items = items;
     this._filterTag = filterTag;
     this._current = -1;
 }
 internal DbFilteredReferenceCollection(DbReferenceCollection.CollectionEntry[] items, int filterTag)
 {
     this._items = items;
     this._filterTag = filterTag;
 }