示例#1
0
 protected override void Dispose(bool disposing)
 {
     if (!isDisposed)
     {
         isDisposed = true;
         if (disposing)
         {
             label?.RemoveFromSuperviewWithoutNeedingDisplay();
             label?.Dispose();
             disclosure?.RemoveFromSuperviewWithoutNeedingDisplay();
             disclosure?.Dispose();
         }
         label      = null;
         disclosure = null;
     }
     base.Dispose(disposing);
 }