Example #1
0
        /// <summary>
        /// Applies the setting.
        /// </summary>
        /// <param name="setting">The setting.</param>
        public void ApplySetting(RecordSettings setting)
        {
            base.ApplySetting(setting);

            this.Behavior = setting.Behavior;
            if (!string.IsNullOrEmpty(setting.KickMessage))
                this.KickMessage = setting.KickMessage;
        }
Example #2
0
        /// <summary>
        /// Applies the setting.
        /// </summary>
        /// <param name="setting">The setting.</param>
        public void ApplySetting(RecordSettings setting)
        {
            base.ApplySetting(setting);

            this.Behavior = setting.Behavior;
            if (!string.IsNullOrEmpty(setting.KickMessage))
                this.KickMessage = setting.KickMessage;
        }