HasPackageScriptsToRun() public method

public HasPackageScriptsToRun ( ) : bool
return bool
コード例 #1
0
		bool ShouldRunActionInConsole(ProcessPackageAction action)
		{
			if (action.HasPackageScriptsToRun()) {
				if (powerShellDetection.IsPowerShell2Installed()) {
					return true;
				} else {
					ReportPowerShellIsNotInstalled();
				}
			}
			return false;
		}
コード例 #2
0
 bool ShouldRunActionInConsole(ProcessPackageAction action)
 {
     if (action.HasPackageScriptsToRun())
     {
         if (powerShellDetection.IsPowerShell2Installed())
         {
             return(true);
         }
         else
         {
             ReportPowerShellIsNotInstalled();
         }
     }
     return(false);
 }
コード例 #3
0
 bool ShouldRunActionInConsole(ProcessPackageAction action)
 {
     return action.HasPackageScriptsToRun();
 }