/// <summary> /// Applies the setting. /// </summary> /// <param name="setting">The setting.</param> public void ApplySetting(AwaySettings setting) { base.ApplySetting(setting); this.Channel = setting.Channel; this.MuteHeadphoneChannel = setting.MuteHeadphoneChannel; this.MuteMicrophoneChannel = setting.MuteMicrophoneChannel; if (!string.IsNullOrEmpty(setting.TextMessage)) this.TextMessage = setting.TextMessage; }
/// <summary> /// Applies the setting. /// </summary> /// <param name="setting">The setting.</param> public void ApplySetting(AwaySettings setting) { base.ApplySetting(setting); this.Channel = setting.Channel; this.MuteHeadphoneChannel = setting.MuteHeadphoneChannel; this.MuteMicrophoneChannel = setting.MuteMicrophoneChannel; if (!string.IsNullOrEmpty(setting.TextMessage)) { this.TextMessage = setting.TextMessage; } }