public ConfigurationEntryBaseVM([NotNull] IConfigurationPlayer realPlayer)
 {
     Assert.ArgumentNotNull(realPlayer, "realPlayer");
     this.RealPlayer                 = realPlayer;
     this.RestoreDefaultValue        = new RelayCommand(this.ResetValue, this.RealPlayer.SupportsReset);
     this.RestoreDefaultValueTooltip = "Reset to default";
     this.RealPlayer.ValueChanged   += this.OnUnderlyingSettingValueChanged;
     this.RealPlayer.RequiresApplicationRebootChanged += this.RealPlayer_RequiresApplicationRebootChanged;
 }
Ejemplo n.º 2
0
 protected virtual void FillPlayerWithConfigAction(IConfigurationPlayer realPlayer)
 {
     realPlayer.AdditionalActions.Add(this.GetConfigurationAction());
 }
 protected virtual void FillPlayerWithConfigAction(IConfigurationPlayer realPlayer)
 {
     realPlayer.AdditionalActions.Add(this.GetConfigurationAction());
 }