示例#1
0
 public IISProperties(ICakeContext context, MotorsportsProperties container) : base(context)
 {
     _container                = container ?? throw new ArgumentNullException(nameof(container));
     IISApplicationPool        = new IISApplicationPoolProperties(context, container);
     ScaffoldingIISApplication = new IISApplicationProperties(context, container)
     {
         ApplicationPath   = "/" + _container.ProductName,
         PhysicalDirectory = _container.FileSystem.ProjectsAndSolutions.ScaffoldingTargetDirectory
     };
 }
 public IISApplicationProperties(ICakeContext context, MotorsportsProperties container) : base(context)
 {
     _container        = container ?? throw new ArgumentNullException(nameof(container));
     PhysicalDirectory = container.FileSystem.PublishTargetDirectory.FullPath;
     ApplicationPath   = "/";
 }
示例#3
0
 public IISApplicationPoolProperties(ICakeContext context, MotorsportsProperties container) : base(context)
 {
     _container = container ?? throw new ArgumentNullException(nameof(container));
 }
 public FileSystemProperties(ICakeContext context, MotorsportsProperties container) : base(context)
 {
     _container           = container ?? throw new ArgumentNullException(nameof(container));
     ProjectsAndSolutions = new ProjectsAndSolutionsProperties(context, container);
     Tools = new ToolsProperties(context, container);
 }
 public ProjectsAndSolutionsProperties(ICakeContext context, MotorsportsProperties container) : base(context)
 {
     _container = container ?? throw new ArgumentNullException(nameof(container));
 }