public DelegatingPropertiesCollection(DelegatingPropertiesCollection.GetProperty getPropertyDelegate, DelegatingPropertiesCollection.SetProperty setPropertyDelegate)
 {
     if (getPropertyDelegate == null)
     {
         throw new ArgumentNullException("getPropertyDelegate");
     }
     if (setPropertyDelegate == null)
     {
         throw new ArgumentNullException("setPropertyDelegate");
     }
     this.getPropertyDelegate = getPropertyDelegate;
     this.setPropertyDelegate = setPropertyDelegate;
 }
 protected virtual void Dispose(bool isDisposing)
 {
     this.getPropertyDelegate = null;
     this.setPropertyDelegate = null;
 }