IDirectorySettings Interface

Summary

Common interface for location based settings
graph BT Type["IDirectorySettings"] class Type type-node Implementing0["SiteSettings"]-.->Type click Implementing0 "/api/Cake.IIS/SiteSettings" Implementing1["VirtualDirectorySettings"]-.->Type click Implementing1 "/api/Cake.IIS/VirtualDirectorySettings" Implementing2["FtpsiteSettings"]-.->Type click Implementing2 "/api/Cake.IIS/FtpsiteSettings" Implementing3["ApplicationSettings"]-.->Type click Implementing3 "/api/Cake.IIS/ApplicationSettings" Implementing4["WebsiteSettings"]-.->Type click Implementing4 "/api/Cake.IIS/WebsiteSettings"

Syntax

public interface IDirectorySettings

Properties

Name Value Summary
ComputerName string
Gets or sets optional computer name to manage IIS on
PhysicalDirectory DirectoryPath
Gets or sets the physical IIS directory
WorkingDirectory DirectoryPath
Gets or sets the cake working directory

Extension Methods

Name Value Summary
Dump<IDirectorySettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<IDirectorySettings>(IDirectorySettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<IDirectorySettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<IDirectorySettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<IDirectorySettings>(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<IDirectorySettings>(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