Beispiel #1
0
        protected void CreateFeedbackService(string customerFeedbackTemporaryFileName, Dictionary <string, int> commandStringToFeedbackValues)
        {
            FeedbackService feedbackService = new FeedbackService(this)
            {
                LoggingFileName = customerFeedbackTemporaryFileName,
                CustomerFeedbackRegistryPath = this.VersionedRegistryPath,
                GroupFeedbackRegistryPath    = this.VersionedPoliciesRegistryPath
            };

            feedbackService.AddCommandStringToValueTable(CoreFeedbackValues.CommandToFeedbackValues);
            feedbackService.AddCommandStringToValueTable(commandStringToFeedbackValues);
            feedbackService.Start();
            this.Services.RegisterPackage((IPackage)feedbackService);
        }