Example #1
0
 protected override void Dispose(bool disposing)
 {
     if (disposing && (Instance == this))
     {
         Instance = null;
     }
     base.Dispose(disposing);
 }
Example #2
0
 public ClassSearchToolWindow(IServiceProvider serviceProvider)
     : base(serviceProvider, true)
 {
     if (Instance == null)
     {
         Instance = this;
     }
 }