コード例 #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
     };
 }
コード例 #2
0
 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));
 }
コード例 #4
0
 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);
 }
コード例 #5
0
 public ProjectsAndSolutionsProperties(ICakeContext context, MotorsportsProperties container) : base(context)
 {
     _container = container ?? throw new ArgumentNullException(nameof(container));
 }