コード例 #1
0
 /// <summary>
 /// Create a web application using the given location and port number.
 /// </summary>
 /// <param name="location">The location of the web application</param>
 /// <param name="portNumber">The port number the web application will be deployed to</param>
 public WebApplication(IProjectLocation location, int portNumber)
 {
     Argument.CheckIfNull(location, "IProjectLocation");
     Argument.CheckIntIfNullOrValue(portNumber, 1, "PortNumber");
     Location   = location;
     PortNumber = portNumber;
 }
コード例 #2
0
 public WebApplication(IProjectLocation location, int portNumber)
 {
     Guard.Against(location == null, "You must specify a location");
     Guard.Against(portNumber <= 0, "portNumber must be greater than zero");
     Location = location;
     PortNumber = portNumber;
 }
コード例 #3
0
 /// <summary>
 /// Create a web application using the given location and port number.
 /// </summary>
 /// <param name="location">The location of the web application</param>
 /// <param name="portNumber">The port number the web application will be deployed to</param>
 public WebApplication(IProjectLocation location, int portNumber)
 {
     Argument.CheckIfNull(location,"IProjectLocation");
     Argument.CheckIntIfNullOrValue(portNumber,1,"PortNumber");
     Location = location;
     PortNumber = portNumber;
 }
コード例 #4
0
 public WebApplication(IProjectLocation location, int portNumber)
 {
     Guard.Against(location == null, "You must specify a location");
     Guard.Against(portNumber <= 0, "portNumber must be greater than zero");
     Location   = location;
     PortNumber = portNumber;
 }
コード例 #5
0
        /// <summary>
        /// Create a web application using the given location and port number.
        /// </summary>
        /// <param name="location">The location of the web application</param>
        /// <param name="portNumber">The port number the web application will be deployed to</param>
        public WebApplication(IProjectLocation location, int portNumber)
        {
            if (location == null)
                throw new ArgumentNullException("location", "You must specify a location");
            if (portNumber <= 0)
                throw new ArgumentOutOfRangeException("portNumber", portNumber, "portNumber must be greater than zero");

            Location = location;
            PortNumber = portNumber;
        }
コード例 #6
0
        /// <summary>
        /// Create a web application using the given location and port number.
        /// </summary>
        /// <param name="location">The location of the web application</param>
        /// <param name="portNumber">The port number the web application will be deployed to</param>
        public WebApplication(IProjectLocation location, int portNumber)
        {
            if (location == null)
                throw new ArgumentNullException("location", "You must specify a location");

            if (portNumber <= 0)
                throw new ArgumentOutOfRangeException("portNumber", portNumber, "portNumber must be greater than zero");

            Location = location;
            PortNumber = portNumber;
            EnvironmentVariables = new Dictionary<string, string>();
        }
コード例 #7
0
        /// <summary>
        /// Create a web application using the given location and port number.
        /// </summary>
        /// <param name="location">The location of the web application</param>
        /// <param name="portNumber">The port number the web application will be deployed to</param>
        public WebApplication(IProjectLocation location, int portNumber)
        {
            if (location == null)
            {
                throw new ArgumentNullException("location", "You must specify a location");
            }
            if (portNumber <= 0)
            {
                throw new ArgumentOutOfRangeException("portNumber", portNumber, "portNumber must be greater than zero");
            }

            Location   = location;
            PortNumber = portNumber;
        }
コード例 #8
0
        /// <summary>
        /// Create a web application using the given location and port number.
        /// </summary>
        /// <param name="location">The location of the web application</param>
        /// <param name="portNumber">The port number the web application will be deployed to</param>
        public WebApplication(IProjectLocation location, int portNumber)
        {
            if (location == null)
            {
                throw new ArgumentNullException(nameof(location), "You must specify a location");
            }

            if (portNumber <= 0)
            {
                throw new ArgumentOutOfRangeException(nameof(portNumber), portNumber, "portNumber must be greater than zero");
            }

            Location             = location;
            PortNumber           = portNumber;
            EnvironmentVariables = new Dictionary <string, string>();
        }
コード例 #9
0
 public ProjectPropertyOccurrence(string value, [CanBeNull] IProjectPropertyCondition condition, IProjectLocation location)
 {
     Value     = value;
     Condition = condition;
     Location  = location;
 }
コード例 #10
0
 public MsBuildDeployer(IProjectLocation projectLocation)
 {
     _projectLocation = projectLocation;
 }
コード例 #11
0
 public MsBuildDeployer(IProjectLocation projectLocation)
 {
     _projectLocation = projectLocation;
 }