XmlPokeSettings Class

Summary

Contains settings for XmlPokeAliases.
Namespace
Cake.Common.Xml
Base Types
  • object
graph BT Type-->Base0["object"] Type["XmlPokeSettings"] class Type type-node

Syntax

public sealed class XmlPokeSettings

Constructors

Name Summary
XmlPokeSettings() Initializes a new instance of the XmlPokeSettings class.

Properties

Name Value Summary
DtdProcessing XmlDtdProcessing
Gets or sets a value that determines the processing of DTDs.
Encoding Encoding
Gets or sets the type of text encoding to use.
Indent bool
Gets or sets a value indicating whether to indent elements.
IndentChars string
Gets or sets the character string to use when indenting. This setting is used when Indent is set to true. The default is two spaces.
Namespaces IDictionary<string, string>
Gets or sets namespaces to include for xpath recognition.
NewLineOnAttributes bool
Gets or sets a value indicating whether to write attributes on a new line. This setting is used when Indent is set to true.
PreserveWhitespace bool
Gets or sets a value indicating whether to preserve white space.

Extension Methods

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