BaseManager Class

Summary

Base class for managing IIS
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Base Types
  • Object
Derived Types
graph BT Type-->Base0["Object"] Type["BaseManager"] class Type type-node Derived0["BaseSiteManager"]-->Type click Derived0 "/api/Cake.IIS/BaseSiteManager" Derived1["WebFarmManager"]-->Type click Derived1 "/api/Cake.IIS/WebFarmManager" Derived2["RewriteManager"]-->Type click Derived2 "/api/Cake.IIS/RewriteManager" Derived3["ApplicationPoolManager"]-->Type click Derived3 "/api/Cake.IIS/ApplicationPoolManager"

Syntax

public abstract class BaseManager

Constructors

Name Summary
BaseManager(ICakeEnvironment, ICakeLog) Initializes a new instance of the BaseManager class.

Fields

Name Constant Value Summary
_Environment
Cake environment
_Log
Cake log
_Server
IIS server manager

Methods

Name Value Summary
Connect(string) ServerManager
Creates a IIS ServerManager
static
GetPhysicalDirectory(IDirectorySettings) string
Gets the physical directory from the working directory
SetServer() void
Set the IIS ServerManager
SetServer(ServerManager) void
Set the IIS ServerManager
SetServer(string) void
Set the IIS ServerManager

Extension Methods

Name Value Summary
Dump<BaseManager>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<BaseManager>(BaseManager[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<BaseManager>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<BaseManager>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<BaseManager>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<BaseManager>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin