IDirectorySettings Interface

Summary

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

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
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin