/// <summary>
            /// Initializes <see cref="FeedbackMessageSettings"/>.
            /// </summary>
            /// <returns></returns>
            public FeedbackMessageSettings Initialize()
            {
                var settings = new FeedbackMessageSettings();

                if (messageRendererFactory != null)
                {
                    settings.messageRendererFactory = messageRendererFactory;
                }

                if (scriptBuilderFactory != null)
                {
                    settings.scriptBuilderFactory = scriptBuilderFactory;
                }

                if (storeSerializerFactory != null)
                {
                    settings.storeSerializerFactory = storeSerializerFactory;
                }

                if (configFactory != null)
                {
                    settings.configFactory = configFactory;
                }

                FeedbackMessageSettings.Instance = settings;

                return(settings);
            }
        /// <summary>
        /// new default instance.
        /// </summary>
        /// <returns></returns>
        private static FeedbackMessageSettings CreateDefaultSettings()
        {
            var settings = new FeedbackMessageSettings();

            return(settings);
        }