/// <summary>
 /// Installs IIS
 /// </summary>
 /// <returns></returns>
 public static IOfferRemoteConfiguration IIS(this IOfferRemoteConfiguration infra)
 {
     var op = new IisInfrastructureOperation();
     Configure.Operation(infra, op);
     return infra;
 }
Beispiel #2
0
 public IisInfrastructureIncludeOptions(IisInfrastructureOperation iisOperation)
 {
     _iisOperation = iisOperation;
 }
        /// <summary>
        /// Installs and configures IIS with provided options
        /// </summary>
        /// <param name="options"></param>
        /// <returns></returns>
        public static IOfferRemoteConfiguration IIS(this IOfferRemoteConfiguration infra, Action<IisInfrastructureOptions> options)
        {
            var op = new IisInfrastructureOperation();
            options(new IisInfrastructureOptions(op));

            Configure.Operation(infra, op);
            return infra;
        }
Beispiel #4
0
 public IisInfrastructureOptions(IisInfrastructureOperation operation)
 {
     _operation = operation;
 }