/// <summary>
        /// Uninstall plugin
        /// </summary>
        public override void Uninstall()
        {
            //settings
            _settingService.DeleteSetting <FroogleSettings>();

            //data
            _objectContext.Uninstall();

            //locales
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.Store");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.Store.Hint");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.Currency");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.Currency.Hint");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.DefaultGoogleCategory");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.DefaultGoogleCategory.Hint");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.General");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.Generate");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.Override");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.ProductPictureSize");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.ProductPictureSize.Hint");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.Products.ProductName");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.Products.GoogleCategory");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.Products.Gender");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.Products.AgeGroup");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.Products.Color");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.Products.Size");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.SuccessResult");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.StaticFilePath");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.StaticFilePath.Hint");

            base.Uninstall();
        }
        /// <summary>
        /// Uninstall plugin
        /// </summary>
        public override void Uninstall()
        {
            //settings
            _settingService.DeleteSetting <FroogleSettings>();

            //data
            _objectContext.Uninstall();

            //locales
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.ClickHere");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.Currency");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.Currency.Hint");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.DefaultGoogleCategory");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.DefaultGoogleCategory.Hint");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.FtpHostname");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.FtpHostname.Hint");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.FtpFilename");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.FtpFilename.Hint");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.FtpUsername");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.FtpUsername.Hint");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.FtpPassword");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.FtpPassword.Hint");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.FtpUploadStatus");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.General");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.Generate");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.Override");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.ProductPictureSize");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.ProductPictureSize.Hint");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.Products.ProductName");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.Products.GoogleCategory");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.SuccessResult");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.Upload");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.TaskEnabled");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.TaskEnabled.Hint");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.GenerateStaticFileEachMinutes");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.GenerateStaticFileEachMinutes.Hint");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.TaskRestart");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.StaticFilePath");
            this.DeletePluginLocaleResource("Plugins.Feed.Froogle.StaticFilePath.Hint");


            //Remove scheduled task
            var task = FindScheduledTask();

            if (task != null)
            {
                _scheduleTaskService.DeleteTask(task);
            }

            base.Uninstall();
        }
Beispiel #3
0
        /// <summary>
        /// Uninstall plugin
        /// </summary>
        public override void Uninstall()
        {
            //settings
            _settingService.DeleteSetting <GoogleShoppingSettings>();

            //data
            _objectContext.Uninstall();

            //locales
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.Store");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.Store.Hint");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.Currency");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.Currency.Hint");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.DefaultGoogleCategory");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.DefaultGoogleCategory.Hint");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.ExceptionLoadPlugin");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.General");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.GeneralInstructions");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.Generate");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.Override");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.OverrideInstructions");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.PassShippingInfoWeight");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.PassShippingInfoWeight.Hint");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.PassShippingInfoDimensions");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.PassShippingInfoDimensions.Hint");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.PricesConsiderPromotions");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.PricesConsiderPromotions.Hint");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.ProductPictureSize");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.ProductPictureSize.Hint");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.Products.ProductName");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.Products.ProductName.Hint");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.Products.GoogleCategory");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.Products.GoogleCategory.Hint");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.Products.Gender");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.Products.Gender.Hint");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.Products.AgeGroup");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.Products.AgeGroup.Hint");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.Products.Color");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.Products.Color.Hint");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.Products.Size");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.Products.Size.Hint");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.Products.CustomGoods");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.Products.CustomGoods.Hint");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.SuccessResult");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.StaticFilePath");
            _localizationService.DeletePluginLocaleResource("Plugins.Feed.GoogleShopping.StaticFilePath.Hint");

            base.Uninstall();
        }
Beispiel #4
0
 /// <summary>
 /// Uninstall plugin
 /// </summary>
 public override void Uninstall()
 {
     _objectContext.Uninstall();
     base.Uninstall();
 }