Beispiel #1
0
 public PipeTransportSettings(PipeTransportSettings copy)
 {
     WorkingDirectory     = copy.WorkingDirectory;
     Program              = copy.Program;
     Arguments            = copy.Arguments.ToArray();  //make copy of array
     DebuggerPath         = copy.DebuggerPath;
     EnvironmentVariables = new EnvironmentVariableCollection(copy.EnvironmentVariables);
 }
        protected override void OnCopyFrom(ProjectRunConfiguration config, bool isRename)
        {
            base.OnCopyFrom(config, isRename);

            var other = (DotNetCoreRunConfiguration)config;

            if (other.PipeTransport == null)
            {
                PipeTransport = null;
            }
            else
            {
                PipeTransport = new PipeTransportSettings(other.PipeTransport);
            }
        }
Beispiel #3
0
        protected override void OnCopyFrom(ProjectRunConfiguration config, bool isRename)
        {
            base.OnCopyFrom(config, isRename);

            var other = (DotNetCoreRunConfiguration)config;

            LaunchBrowser  = other.LaunchBrowser;
            LaunchUrl      = other.LaunchUrl;
            ApplicationURL = other.ApplicationURL;
            if (other.PipeTransport == null)
            {
                PipeTransport = null;
            }
            else
            {
                PipeTransport = new PipeTransportSettings(other.PipeTransport);
            }
        }
        protected override void OnCopyFrom(ProjectRunConfiguration config, bool isRename)
        {
            base.OnCopyFrom(config, isRename);

            var other = (DotNetCoreRunConfiguration)config;

#pragma warning disable CS0618 // Type or member is obsolete
            LaunchBrowser  = other.LaunchBrowser;
            LaunchUrl      = other.LaunchUrl;
            ApplicationURL = other.ApplicationURL;
#pragma warning restore CS0618 // Type or member is obsolete
            if (other.PipeTransport == null)
            {
                PipeTransport = null;
            }
            else
            {
                PipeTransport = new PipeTransportSettings(other.PipeTransport);
            }
        }