internal protected virtual Task Execute (ProgressMonitor monitor, ExecutionContext context, ConfigurationSelector configuration, SolutionRunConfiguration runConfiguration)
		{
			context.RunConfiguration = runConfiguration;
#pragma warning disable 618 // Type or member is obsolete
			return Execute (monitor, context, configuration);
#pragma warning restore 618 // Type or member is obsolete
		}
        internal protected virtual bool CanExecute(ExecutionContext context, ConfigurationSelector configuration, SolutionRunConfiguration runConfiguration)
        {
            context.RunConfiguration = runConfiguration;
#pragma warning disable 618 // Type or member is obsolete
            return(CanExecute(context, configuration));

#pragma warning restore 618 // Type or member is obsolete
        }
        internal protected virtual Task PrepareExecution(ProgressMonitor monitor, ExecutionContext context, ConfigurationSelector configuration, SolutionRunConfiguration runConfiguration)
        {
            context.RunConfiguration = runConfiguration;
#pragma warning disable 618 // Type or member is obsolete
            return(PrepareExecution(monitor, context, configuration));

#pragma warning restore 618 // Type or member is obsolete
        }
 internal protected virtual IEnumerable <ExecutionTarget> GetExecutionTargets(Solution solution, ConfigurationSelector configuration, SolutionRunConfiguration runConfiguration)
 {
     return(next.GetExecutionTargets(solution, configuration, runConfiguration));
 }
			public RunConfigurationModel (SolutionRunConfiguration config)
			{
				RunConfiguration = config;
				OriginalId = config.Id;
				DisplayString = config.Name;
			}
		internal protected virtual bool CanExecute (ExecutionContext context, ConfigurationSelector configuration, SolutionRunConfiguration runConfiguration)
		{
			context.RunConfiguration = runConfiguration;
#pragma warning disable 618 // Type or member is obsolete
			return CanExecute (context, configuration);
#pragma warning restore 618 // Type or member is obsolete
		}
		internal protected virtual IEnumerable<ExecutionTarget> GetExecutionTargets (Solution solution, ConfigurationSelector configuration, SolutionRunConfiguration runConfiguration)
		{
			return next.GetExecutionTargets (solution, configuration, runConfiguration);
		}
示例#8
0
		bool IsStartupProject (Project p, SolutionRunConfiguration sc)
		{
			var single = sc as SingleItemSolutionRunConfiguration;
			if (single != null)
				return single.Item == p;
			var multi = sc as MultiItemSolutionRunConfiguration;
			return multi != null && multi.Items.Any (si => si.SolutionItem == p);
		}