Ejemplo n.º 1
0
 protected virtual void OnRemovedFromCollection(SymSourceCollection aCollection)
 {
     if (--iReferenceCount <= 0)
     {
         this.Dispose();
     }
 }
Ejemplo n.º 2
0
 internal void RemovedFromCollection(SymSourceCollection aCollection)
 {
     OnRemovedFromCollection(aCollection);
 }
Ejemplo n.º 3
0
 internal void AddedToCollection(SymSourceCollection aCollection)
 {
     OnAddedToCollection(aCollection);
 }
Ejemplo n.º 4
0
 protected virtual void OnAddedToCollection(SymSourceCollection aCollection)
 {
     ++iReferenceCount;
 }