Esempio n. 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;
        }
Esempio n. 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;
        }