示例#1
0
 public void Initialize(object options, bool wasCreatedFromOptions)
 {
     if (options is Xml.Settings.General.Options)
     {
         _options = (Xml.Settings.General.Options)options;
         _uiTargets.DataSource = _options.NuGetOptions.Targets;
     }
 }
示例#2
0
 public void Initialize(object options, bool wasCreatedFromOptions)
 {
     if (options is Xml.Settings.General.Options)
     {
         _options = (Xml.Settings.General.Options)options;
         _uiMsBuilds.DataSource = _options.MsBuildOptions.ExePaths;
     }
 }
示例#3
0
 public void Initialize(object options, bool wasCreatedFromOptions)
 {
     if (options is Xml.Settings.General.Options)
     {
         _options = (Xml.Settings.General.Options)options;
         _uiTargets.DataSource = _options.NuGetOptions.Targets;
     }
 }
示例#4
0
 public void Initialize(object options, bool wasCreatedFromOptions)
 {
     if (options is Xml.Settings.General.Options)
     {
         _options = (Xml.Settings.General.Options)options;
         _uiMsBuilds.DataSource = _options.MsBuildOptions.ExePaths;
     }
 }
        public void Initialize(object options, bool wasCreatedFromOptions)
        {
            if (options is Xml.Settings.General.Options)
            {
                _options = (Xml.Settings.General.Options)options;
                _uiNuGetServers.DataSource = _options.NuGetOptions.Servers;

                _blockEvents = true;

                _uiNuGetServerUsage.DataSource = _serverUsageNames.Values.ToList();

                _uiNuGetExePath.Text = _options.NuGetOptions.ExePath;

                _blockEvents = false;

                _uiNuGetServerUsage.SelectedItem = _serverUsageNames[_options.NuGetOptions.ServerUsage];
            }
        }
        public void Initialize(object options, bool wasCreatedFromOptions)
        {
            if (options is Xml.Settings.General.Options)
            {
                _options = (Xml.Settings.General.Options)options;
                _uiNuGetServers.DataSource = _options.NuGetOptions.Servers;

                _blockEvents = true;

                _uiNuGetServerUsage.DataSource = _serverUsageNames.Values.ToList();

                _uiNuGetExePath.Text = _options.NuGetOptions.ExePath;

                _blockEvents = false;

                _uiNuGetServerUsage.SelectedItem = _serverUsageNames[_options.NuGetOptions.ServerUsage];
            }
        }