/// <summary> /// One time initialization. /// </summary> public override void Initialize() { base.Initialize(); _firstTimeUse = new SupportOptionsFirstTimeUse(this.OptionsService, _packageService, _shellHelperService, _shellInfoBarService, _messageService); _shellEventsService.SubscribeSolutionEvents(_firstTimeUse); }
public void Dispose() { if (_firstTimeUse != null) { _shellEventsService.UnsubscribeSolutionEvents(_firstTimeUse); _firstTimeUse = null; } }